Problems cross-compiling CVS 0.10

When I cross-compile SDL with xmingw32 I get those errors:

src/win32/windib/SDL_sysevents.c: In function SDL_SYS_PumpEvents': src/win32/windib/SDL_sysevents.c:352:WM_APP’ undeclared (first use in
this function)
src/win32/windib/SDL_sysevents.c:352: (Each undeclared identifier is
reported only once
src/win32/windib/SDL_sysevents.c:352: for each function it appears in.)
make: *** [obj/windib/SDL_sysevents.o] Error 1

If I fix this I get no errors compiling for WinDIB and those errors
compiling for DirectX:

src/win32/directx/SDL_sysvideo.c: In function SDL_AllocDDSurface': src/win32/directx/SDL_sysvideo.c:899: structure has no member namedlPitch’
make: *** [obj/directx/SDL_sysvideo.o] Error 1

I’m using the includes of DirectX 6.1 SDK.

 ||| 
(o -)

oOOo(_)oOOo-----------------------------

Oops, fixed in the latest CVS version. :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec