bug-autoconf
[Top][All Lists]
Advanced

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

Re: AC_C_INLINE with -Werror llvm 3.4


From: Eric Blake
Subject: Re: AC_C_INLINE with -Werror llvm 3.4
Date: Mon, 09 Jun 2014 09:17:18 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 06/08/2014 10:25 AM, Kurt Schwehr wrote:
> I'm trying to clean hdf5 1.9.182 a bit and I'm using -Werror as my first
> pass tool.  Just cleaning the messages that come up.  However, passing
> -Werror as CPPFLAGS causes configure to die on a number of places.

Don't do that.  It is not possible to make autoconf warning-free for all
possible compilers.  So our advice has always been to probe for -Werror
independently from other compiler flags, and add it in at the last
minute, but NOT to expect configure to be running with -Werror in effect.

That said, if you have a simple patch that reduces one case of false
test results due to -Werror, we can still probably apply it.

-- 
Eric Blake   eblake redhat com    +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]