I'm trying to build SDL with the mingw32ce compiler, but I've run into a
few errors. Here's the make output (I've configured with "./configure
--host=arm-wince-mingw32ce"):
[EMAIL PROTECTED]:~/Desktop/SDL-1.2.13$ make
/bin/bash ./libtool --mode=compile arm-wince-mingw32ce-gcc -g -O2
-I./include -D_GNU_SOURCE=1 -c
./src/video/wincommon/SDL_sysevents.c -o build/SDL_sysevents.lo
arm-wince-mingw32ce-gcc -g -O2 -I./include -D_GNU_SOURCE=1 -c
./src/video/wincommon/SDL_sysevents.c -DDLL_EXPORT -DPIC -o
build/.libs/SDL_sysevents.o
In file included from ./src/video/wincommon/SDL_sysevents.c:54:
./src/video/wincommon/../gapi/SDL_gapivideo.h:135: error: field
'userOrientation' has incomplete type
./src/video/wincommon/../gapi/SDL_gapivideo.h:141: error: field
'gapiOrientation' has incomplete type
./src/video/wincommon/../gapi/SDL_gapivideo.h:149: error: field
'videoMode' has incomplete type
./src/video/wincommon/SDL_sysevents.c: In function 'SDL_RegisterApp':
./src/video/wincommon/SDL_sysevents.c:848: warning: passing argument
1 of 'GetModuleHandleW' from incompatible pointer type
./src/video/wincommon/SDL_sysevents.c:850: warning: passing argument
2 of 'GetProcAddressW' from incompatible pointer type
make: *** [build/SDL_sysevents.lo] Error 1
[EMAIL PROTECTED]:~/Desktop/SDL-1.2.13$
I did some research about the "incomplete type" errors, and it looks
like those are usually because the compiler is a c89 compiler and not a
c99 one. Is this true of cegcc?
Can I get a C99 version?
Thank you,
Jared
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel