> 3. Change the definition of WIN32_LEAN_AND_MEAN in configure/make.
>
> Solution 3 is a very simple change. It works for the moment,
> but would raise warnings when a library header file with a
> different definition of WIN32_LEAN_AND_MEAN is used.
> When I scanned the system headers of my mingw3
Am 21.04.2010 22:13, schrieb Stefan Weil:
Stefan Weil schrieb:
configure adds the macro WIN32_LEAN_AND_MEAN to
QEMU_CFLAGS, and SDL_syswm.h defines it, too.
This results in a compiler warning (redefinition of
WIN32_LEAN_AND_MEAN in SDL_syswm.h. That warning prevents
compilations for win32 with
On 04/22/2010 03:11 AM, Paolo Bonzini wrote:
> There is
>
> #define WIN32_LEAN_AND_MEAN
>
> in SDL_syswm.h and -DWIN32_LEAN_AND_MEAN in configure, so that should be
> okay.
-DFOO => #define FOO 1
-DFOO= => #define FOO
r~
On 04/21/2010 10:13 PM, Stefan Weil wrote:
Stefan Weil schrieb:
configure adds the macro WIN32_LEAN_AND_MEAN to
QEMU_CFLAGS, and SDL_syswm.h defines it, too.
This results in a compiler warning (redefinition of
WIN32_LEAN_AND_MEAN in SDL_syswm.h. That warning prevents
compilations for win32 with
Stefan Weil schrieb:
> configure adds the macro WIN32_LEAN_AND_MEAN to
> QEMU_CFLAGS, and SDL_syswm.h defines it, too.
>
> This results in a compiler warning (redefinition of
> WIN32_LEAN_AND_MEAN in SDL_syswm.h. That warning prevents
> compilations for win32 with warning = error).
>
> Fix this by