On 7 Aug 2017, at 16:20, Maxim Sobolev <[email protected]> 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

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to