I get an error whenever I try to compile SDL code. I'm using dev-C++ and it generates the following error in the SDL_audio.h header file. SDL_audio.h:97: parse error before `[' token any help would be appreciated
I think you are using SDL 1.2.8 or below still. That problem should have been resolved in SDL 1.2.9 now. You just need to take out the SDLCALL identifier on that line in the SDL_audio.h file.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform.
You can accept analytics or continue with necessary cookies only.
Learn more