Re: 11.1-RELEASE has issue with system headers in pedantic mode (type nullability specifier)

2017-08-07 Thread David Chisnall
On 7 Aug 2017, at 16:20, Maxim Sobolev 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

Re: 11.1-RELEASE has issue with system headers in pedantic mode (type nullability specifier)

2017-08-07 Thread Maxim Sobolev
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 -Max On Mon, Aug 7, 2017 at 6:20 AM, Maxim Sobolev wrote: > Hi, we noticed that some of our internal packages fail the

11.1-RELEASE has issue with system headers in pedantic mode (type nullability specifier)

2017-08-07 Thread Maxim Sobolev
Hi, we noticed that some of our internal packages fail the build on 11.1 now with -pedantic: *00:31:09.178* Warning: Object directory not changed from original /tmp/mnt/dncd/work/dncd-20170627161415*00:31:09.178* cc -pipe -g3 -O0 -pipe -fstack-protector -fno-strict-aliasing -Wall -pedantic -O0