160 unused but set variables in QEMU
Public bug reported:
I use gcc from SVN on my desktop:
austin@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.
** Affects: qemu
Importance: Undecided
Status: New
Signature · 21 lines
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: austin@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.
** Attachment added: "make.txt"
https://bugs.launchpad.net/bugs/621780/+attachment/1508292/+files/make.txt
Signature · 21 lines
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: austin@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.
Forgot to add, this is with git head, commitcc597832119dd1504f1c1536bb5f903d8970af2a.
Signature · 21 lines
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: austin@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.
We fixed all our unused-but-set compiler warnings some time before the release of qemu 1.0, so I'm closing this bug as fixed.
** Changed in: qemu
Status: New => Fix Released
Signature · 32 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/621780 Title: 160 unused but set variables in QEMU Status in QEMU: Fix Released Bug description: I use gcc from SVN on my desktop: austin@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. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/621780/+subscriptions