** Attachment added: "make.txt"
   https://bugs.launchpad.net/bugs/621780/+attachment/1508292/+files/make.txt

-- 
160 unused but set variables in QEMU
https://bugs.launchpad.net/bugs/621780
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
I use gcc from SVN on my desktop:
aus...@midna:~/gits/qemu$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20100726 (experimental) (GCC) 

which enables a new warning, 'unused-but-set'.  Normally, this wouldn't be a 
big deal, just an annoyance, but since QEMU builds with -Werror, it causes 
problems.

Easy enough to workaround with 'make -k'. To make it a bit easier on you, I ran 
'make -k ; make -k &> make.txt', and attached that here, so you can easily find 
the 160 cases that should be fixed in qemu without needing gcc 4.6.



Reply via email to