On Mon, Jan 20, 2014 at 6:37 PM, Nils Goroll <[email protected]> wrote:

> [..]
>
>  I was looking at your diff I don't understand the
>> -Wno-missing-field-initializers vs -Wno-extra. If the compiler doesn't
>> support
>> the former why add the -Wno-extra instead of just not adding
>> -Wno-missing... ?
>>
>
> Hm, your question seems to contain the answer ;)
> If the compiler does not support -Wno-missing-field-initializers, we
> can't use -Wno-missing-field-initializers, so we have to use -Wno-extra


And answering to myself: to silence the otherwise warning added by -Wextra.
Because -Werror is there.


> [..]
>> So both checks are doing the same. Can you share the config.log?
>>
>
> Notice that gcc is invoked with -c for the first and -o for the second
> case. It's no surprise to me that the second test only fails on an exotic
> OS (read: OpenSolaris) :P
>

You are absolutely right, missed that.

f.-
_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to