[SDL] 2 questions about installing SDL

Will Childman c7liu at uwaterloo.ca
Tue Jan 18 19:04:30 PST 2005


> Sam Lantinga wrote:

> >>When trying to compile wsing mingw c++ i get:
> >>
> >
> >>SDL/SDL_audio.h:97: parse error before `[' token
> >>
> >
> >Just remove SDLCALL from that line.  It's a parser bug in gcc.
> >
> Really ? IIRC __cdecl it just comes with #include <windows.h> in mingw. 
> Maybe it should just be fixed in begin_code.h

The bug is in the parsing of the declaration of an array of function pointers
in conjunction with SDLCALL.

See ya!
	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list