The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL 1.2.15 compile errors
Rainer Deyke
Guest

I'm getting errors when compiling SDL 1.2.15. Exact error message:
/home/rainer/projects/starfire/intermediate/libs/SDL1/SDL-1.2.15/src/video/x11/SDL_x11sym.h:168:17:
error: conflicting types for ‘_XData32’
SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned
len),(dpy,data,len),return)
^
/home/rainer/projects/starfire/intermediate/libs/SDL1/SDL-1.2.15/src/video/x11/SDL_x11dyn.c:95:5:
note: in definition of macro ‘SDL_X11_SYM’
rc fn params { ret p##fn args ; }
^
In file included from
/home/rainer/projects/starfire/intermediate/libs/SDL1/SDL-1.2.15/src/video/x11/SDL_x11dyn.h:34:0,
from
/home/rainer/projects/starfire/intermediate/libs/SDL1/SDL-1.2.15/src/video/x11/SDL_x11dyn.c:26:
/usr/include/X11/Xlibint.h:568:12: note: previous declaration of
‘_XData32’ was here
extern int _XData32(
^

This is on 64 bit Linux Mint 16. SDL2 compiles fine. Complete build
log attached.


--
Rainer Deyke

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org