Subject: [Qemu-devel] Windows build broken
Trying to build the current CVS Head with Mingw under windows, the result is
the following error message:
In file included from tap-win32.c:31:
sysemu.h:125: error: syntax error before ';' token
sysemu.h:137: error: syntax error before ',' token
] Windows build broken
2007/12/12, C.W. Betts [EMAIL PROTECTED]:
Same problem with cygwin. I think it's a problem with BlockInterfaceType
not being correctly parsed on mingw-gcc for some odd reason.
Hi,
I don't think it is related with BlockInterfaceType itself. The problem is to
use
2007/12/12, C.W. Betts [EMAIL PROTECTED]:
Could you perhaps give a patch? I don't feel like going through and
changing every instance of BlockInterfaceType to something else.
Having a closer look I think the underlying problem is a name conflict with
a #define in Mingw's header file
basetyps.h is included by windows.h / rpc.h. QEMU does not need it, so
you can avoid it like this:
#define WIN32_LEAN_AND_MEAN
#include windows.h
WIN32_LEAN_AND_MEAN reduces the number of includes in windows.h
and increases compilation speed. And you don't have to rename
variables like interface
Stefan Weil wrote:
basetyps.h is included by windows.h / rpc.h. QEMU does not need it, so
you can avoid it like this:
#define WIN32_LEAN_AND_MEAN
#include windows.h
WIN32_LEAN_AND_MEAN reduces the number of includes in windows.h
and increases compilation speed. And you don't have to rename
Hi
I hav built the current CVS of QEMU on my WinXP SP2 host with
MinGW-3.1.0-1 / MSYS-1.0.10.
Now, when starting QEMU, I get a black screen. No BIOS information is
printed out and the QEMU window stays black. The console is working
and QEMU seems to do something. The laster build I had done was