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-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to