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
signature.asc
Description: OpenPGP digital signature