From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4UgF-0002mF-1j for Qemu-devel@nongnu.org; Thu, 03 Dec 2015 09:16:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4Ug9-0008CX-7q for Qemu-devel@nongnu.org; Thu, 03 Dec 2015 09:16:18 -0500 Received: from mail-vk0-x229.google.com ([2607:f8b0:400c:c05::229]:32833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4Ug9-0008CT-1s for Qemu-devel@nongnu.org; Thu, 03 Dec 2015 09:16:13 -0500 Received: by vkca188 with SMTP id a188so46320946vkc.0 for ; Thu, 03 Dec 2015 06:16:12 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <93259ECD-066A-413E-B647-2BB240DBF7EC@livius.net> <2E7B730D-C409-4800-9BEC-8E302812C7E8@livius.net> <54778506.5060200@weilnetz.de> <547820C8.3060805@weilnetz.de> <5658AC21.2000805@weilnetz.de> <87fuzpnhax.fsf@emacs.mitica> From: Peter Maydell Date: Thu, 3 Dec 2015 14:15:52 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] MinGW build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: Stefan Weil , QEMU Developers , Liviu Ionescu On 3 December 2015 at 11:58, Peter Maydell wrote= : > On 29 November 2015 at 12:03, Juan Quintela wrote: >> Peter Maydell wrote: >>> Yes, I've reported it to them, and I agree we don't need to fix >>> this for 2.5. (There are other warnings with this mingw compiler >>> anyway.) >> >> For my compiler (F23 cross-compiler) and a fairly large configuration (*= ) >> this is the only warning. > > The others I see are: > > CC qga/commands.o > In file included from > /home/petmay01/linaro/mingw64/lib/glib-2.0/include/glibconfig.h:9:0, > from > /home/petmay01/linaro/mingw64/include/glib-2.0/glib/gtypes.h:34, > from > /home/petmay01/linaro/mingw64/include/glib-2.0/glib/galloca.h:34, > from /home/petmay01/linaro/mingw64/include/glib-2.0/glib= .h:32, > from /home/petmay01/linaro/qemu-for-merges/qga/commands.= c:13: > /home/petmay01/linaro/qemu-for-merges/qga/commands.c: In function > =E2=80=98qmp_guest_exec_status=E2=80=99: > /home/petmay01/linaro/mingw64/include/glib-2.0/glib/gmacros.h:162:53: > error: typedef =E2=80=98_GStaticAssertCompileTimeAssertion_0=E2=80=99 loc= ally defined > but not used [-Werror=3Dunused-local-typedefs] > #define G_STATIC_ASSERT(expr) typedef char G_PASTE > (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] > ^ > /home/petmay01/linaro/mingw64/include/glib-2.0/glib/gmacros.h:159:47: > note: in definition of macro =E2=80=98G_PASTE_ARGS=E2=80=99 > #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2 > ^ > /home/petmay01/linaro/mingw64/include/glib-2.0/glib/gmacros.h:162:44: > note: in expansion of macro =E2=80=98G_PASTE=E2=80=99 > #define G_STATIC_ASSERT(expr) typedef char G_PASTE > (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] > ^ > /home/petmay01/linaro/mingw64/include/glib-2.0/glib/gatomic.h:79:5: > note: in expansion of macro =E2=80=98G_STATIC_ASSERT=E2=80=99 > G_STATIC_ASSERT (sizeof *(atomic) =3D=3D sizeof (gint)); = \ > ^ > /home/petmay01/linaro/qemu-for-merges/qga/commands.c:157:21: note: in > expansion of macro =E2=80=98g_atomic_int_get=E2=80=99 > bool finished =3D g_atomic_int_get(&gei->finished); > ^ It looks like these were fixed in glib upstream: https://git.gnome.org/browse/glib/commit/?id=3D0ea7abaed5 (I'm using glib 2.34.3-1, which doesn't have the fix.) thanks -- PMM