On Wed, Aug 11, 2010 at 6:51 PM, Blue Swirl <blauwir...@gmail.com> wrote: > On Wed, Aug 11, 2010 at 6:18 PM, Stefan Weil <w...@mail.berlios.de> wrote: >> Am 11.08.2010 18:34, schrieb Blue Swirl: >>> >>> On Wed, Aug 11, 2010 at 10:58 AM, Stefan Weil <w...@mail.berlios.de> >>> wrote: >>>> >>>> Hi, >>>> >>>> since several months, QEMU for Windows (and mingw32 cross builds) >>>> no longer builds without error. >>> >>> Not true for mingw32, it was building fine here until the latest commit. >> >> That's a big surprise! Do you have a mingw32 version which includes >> setenv()? >> My Debian mingw32-runtime 3.13-1 does not support setenv(), so >> compilation gives a warning and linking gives an error. >> >> And don't you get warnings from SDL headers which redefine >> WIN32_LEAN_AND_MEAN? > > No, I have even configured with --enable-werror. But it looks like I > have forgotten to make SDL headers available. I think SDL with mingw32 > worked at some point, VNC is still fine.
With these changes, build succeeds with SDL. For example, qemu-system-sparc.exe can boot from a Sparc32 CD under Wine.
0001-Fix-mingw32-warnings-with-SDL.patch
Description: application/mbox