160 unused but set variables in QEMU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I use gcc from SVN on my desktop:
austin@
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_
Target: x86_64-
Configured with: ./configure --enable-
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.
Forgot to add, this is with git head, commit cc597832119dd15 04f1c1536bb5f90 3d8970af2a.