Received: from [140.186.70.92] (port=49894 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmomX-0002Ga-7R for qemu-devel@nongnu.org; Sat, 21 Aug 2010 10:10:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmomW-0007m1-5f for qemu-devel@nongnu.org; Sat, 21 Aug 2010 10:10:49 -0400 Received: from adelie.canonical.com ([91.189.90.139]:41099) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmomW-0007lu-0x for qemu-devel@nongnu.org; Sat, 21 Aug 2010 10:10:48 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OmomV-00067b-J0 for ; Sat, 21 Aug 2010 15:10:47 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 8DC9D2E8065 for ; Sat, 21 Aug 2010 15:10:47 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 21 Aug 2010 14:02:03 -0000 From: austin_is Sender: bounces@canonical.com References: <20100821140203.18920.24173.malonedeb@potassium.ubuntu.com> Message-Id: <20100821140204.18920.98012.malone@potassium.ubuntu.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: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Attachment added: "make.txt" https://bugs.launchpad.net/bugs/621780/+attachment/1508292/+files/make.t= xt -- = 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=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 cause= s 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 ea= sily find the 160 cases that should be fixed in qemu without needing gcc 4.= 6.