[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
another manywarnings failure
From: |
Eric Blake |
Subject: |
another manywarnings failure |
Date: |
Wed, 05 Sep 2012 16:58:08 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
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 address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- another manywarnings failure,
Eric Blake <=