From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuKAK-0006FO-FQ for qemu-devel@nongnu.org; Sun, 13 Jan 2013 04:47:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuKAE-0003Uq-O1 for qemu-devel@nongnu.org; Sun, 13 Jan 2013 04:47:44 -0500 Message-ID: <50F282AC.7030003@reactos.org> Date: Sun, 13 Jan 2013 10:47:24 +0100 From: =?ISO-8859-1?Q?Herv=E9_Poussineau?= MIME-Version: 1.0 References: <9fbe5d61cc42fdeab2ec1029e5fa736644f34898.1358064560.git.blauwirbel@gmail.com> In-Reply-To: <9fbe5d61cc42fdeab2ec1029e5fa736644f34898.1358064560.git.blauwirbel@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] pc87312: avoid define conflict on mingw32 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: sw@weilnetz.de, =?ISO-8859-1?Q?Andreas_F=E4r?= =?ISO-8859-1?Q?ber?= , qemu-ppc@nongnu.org, qemu-devel@nongnu.org Blue Swirl a =E9crit : > Mingw32 headers define FAR, causing this warning: > /src/qemu/hw/pc87312.c:38:0: warning: "FAR" redefined [enabled by defau= lt] > In file included from /usr/local/lib/gcc/i686-mingw32msvc/4.7.0/../../.= ./../i686-mingw32msvc/include/windows.h:48:0, > from /src/qemu/include/sysemu/os-win32.h:29, > from /src/qemu/include/qemu-common.h:46, > from /src/qemu/include/exec/ioport.h:27, > from /src/qemu/hw/isa.h:6, > from /src/qemu/hw/pc87312.h:28, > from /src/qemu/hw/pc87312.c:26: > /usr/local/lib/gcc/i686-mingw32msvc/4.7.0/../../../../i686-mingw32msvc/= include/windef.h:34:0: note: this is the location of the previous definit= ion >=20 > Avoid the warning by expanding the macros. >=20 > Signed-off-by: Blue Swirl > --- > hw/pc87312.c | 38 +++++++++++++++++--------------------- > 1 files changed, 17 insertions(+), 21 deletions(-) Acked-by: Herv=E9 Poussineau Herv=E9