qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-1.5] spitz: Fix compiler warning (MinGW-w64)


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH for-1.5] spitz: Fix compiler warning (MinGW-w64)
Date: Mon, 20 May 2013 12:36:25 +0100

On 18 May 2013 13:02, Stefan Weil <address@hidden> wrote:
> Macro MOD_SHIFT is also defined in imm.h:
>
> /qemu/hw/arm/spitz.c:280:1: warning: "MOD_SHIFT" redefined
> /usr/lib/gcc/amd64-mingw32msvc/4.4.4/../../../../amd64-mingw32msvc/include/imm.h:309:1:
>  warning: this is the location of the previous definition

> +#undef MOD_SHIFT /* avoid redefinition, see imm.h from MinGW-w64 */
> +

I guess this is the minimal fix for 1.5, but it's pretty ugly.
Isn't it possible to avoid the Windows headers getting dragged
in somehow?

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]