autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFE: macro for warning at configure-time if CFLAGS includes -Werror


From: Eric Blake
Subject: Re: RFE: macro for warning at configure-time if CFLAGS includes -Werror
Date: Wed, 19 Sep 2012 16:06:08 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0

On 09/19/2012 04:02 PM, Adrian Bunk wrote:
> On Wed, Sep 19, 2012 at 03:40:39PM -0600, Eric Blake wrote:
>> On 09/19/2012 03:33 PM, Adrian Bunk wrote:
>>> IMHO the best solution for both package maintainers and people compiling 
>>> software would be:
>>> - AC_PROG_CC always filters out -Werror
>>
>> Always filtering seems a bit too strong - I think that filtering -Werror
>> requires at least some request from the configure.ac writer that
>> filtering -Werror is intended.
>> ...
> 
> But that wouldn't fix your original problem where a normal configure
> had wrong test results with -Werror.

Huh?  Filtering _would_ fix the original problem of getting wrong
configure results under -Werror, because -Werror wouldn't be used during
configure.  It's just a question of whether it is safe to filter by
default, or whether filtering is enough of a change to require a
one-line addition to configure.ac explicitly requesting the filtering.

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]