Received: from eggs.gnu.org ([140.186.70.92]:48728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Reaev-0000uZ-6w for qemu-devel@nongnu.org; Sat, 24 Dec 2011 18:05:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Reaet-0004g6-SR for qemu-devel@nongnu.org; Sat, 24 Dec 2011 18:05:45 -0500 Received: from indium.canonical.com ([91.189.90.7]:56205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Reaet-0004g1-OP for qemu-devel@nongnu.org; Sat, 24 Dec 2011 18:05:43 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Reaes-0005O3-8Z for ; Sat, 24 Dec 2011 23:05:42 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 3BFBB2E8075 for ; Sat, 24 Dec 2011 23:05:42 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 24 Dec 2011 22:59:47 -0000 From: Peter Maydell Sender: bounces@canonical.com References: <20100821140203.18920.24173.malonedeb@potassium.ubuntu.com> Message-Id: <20111224225947.26562.52491.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 621780] Re: 160 unused but set variables in QEMU Reply-To: Bug 621780 <621780@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 =3D> Fix Released -- = 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=3Dgcc COLLECT_LTO_WRAPPER=3D/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=3Dc,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