From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv7W4-0004kn-IT for qemu-devel@nongnu.org; Tue, 15 Jan 2013 09:29:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tv7W3-0006Xp-Ch for qemu-devel@nongnu.org; Tue, 15 Jan 2013 09:29:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:62696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv7W3-0006Xg-5b for qemu-devel@nongnu.org; Tue, 15 Jan 2013 09:29:27 -0500 Message-ID: <50F567C2.3000807@redhat.com> Date: Tue, 15 Jan 2013 15:29:22 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1357723028-12929-1-git-send-email-kraxel@redhat.com> <1357723028-12929-2-git-send-email-kraxel@redhat.com> <50F4E0E4.8000506@suse.de> In-Reply-To: <50F4E0E4.8000506@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 2/2] pixman: fix warning List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Cc: Blue Swirl , qemu-devel@nongnu.org, agraf@suse.de Hi, > Unfortunately this did not help on SLES11 SP2. I don't spot any typo in > your patches, it looked neat; CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE does > not get defined in config-host.h it seems. Hmm, anything in config.log? Maybe the sles11 gcc doesn't support the -Wunused-but-set-variable used in the configure test? > Using the pragmas unconditionally results in change from: >=20 > CC qemu-timer.o > cc1: warnings being treated as errors > In file included from > /home/andreas/QEMU/qemu-s390/include/ui/qemu-pixman.h:13, > from /home/andreas/QEMU/qemu-s390/include/ui/console.h= :4, > from /home/andreas/QEMU/qemu-s390/qemu-timer.c:27: > /usr/include/pixman-1/pixman.h:225: error: redundant redeclaration of > =E2=80=98pixman_transform_from_pixman_f_transform=E2=80=99 > /usr/include/pixman-1/pixman.h:221: error: previous declaration of > =E2=80=98pixman_transform_from_pixman_f_transform=E2=80=99 was here > make: *** [qemu-timer.o] Fehler 1 >=20 > to: >=20 > CC qemu-timer.o > cc1: warnings being treated as errors > In file included from > /home/andreas/QEMU/qemu-s390/include/ui/qemu-pixman.h:13, > from /home/andreas/QEMU/qemu-s390/include/ui/console.h= :4, > from /home/andreas/QEMU/qemu-s390/qemu-timer.c:27: > /usr/include/pixman-1/pixman.h:221: error: previous declaration of > =E2=80=98pixman_transform_from_pixman_f_transform=E2=80=99 was here > make: *** [qemu-timer.o] Fehler 1 That looks like a gcc bug to me. cheers, Gerd