On 7 Aug 2017, at 16:20, Maxim Sobolev <sobo...@freebsd.org> wrote: > > One way to defeat this would be to mark those headers with the #pragma > clang system_header. As per: > > https://clang.llvm.org/docs/UsersManual.html#id27
That won’t fix the issue, because base (as you can see from the passed compile command) is compiled with -Wsystem-headers, which issues warnings even in system headers. This is increasingly unhelpful and must, for example, be turned off when compiling anything written in C++ because of warnings in libc++ headers. David _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"