I compiled on FreeBSD 8.2 (gcc 4.2.1), and when I updated to the latest gnulib, I started to see the following in config.log when running ./configure CFLAGS=-g:
configure:53920: checking whether C compiler handles -Wuninitialized configure:53939: gcc -std=gnu99 -c -g -Wuninitialized -D_THREAD_SAFE -D_THREAD_SAFE conftest.c >&5 cc1: warning: -Wuninitialized is not supported without -O configure:53939: $? = 0 configure:53949: result: yes But when later coupled with -Werror, this makes compilation fail noisily. I think this may have been inadvertently introduced by commit dd44da55 when we updated the list of "all" warnings (at least, that was the only commit in my recent gnulib update that seems to have touched manywarnings). Any quick ideas how to avoid this warning in the cases where it will have no effect other than to cause a warning that trips up -Werror? When checking for warnings, should we also check that each warning pairs with -Werror with no further problem? -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature