I am trying to build a Visual C++ 2008 DLL using SDL_Mixer 1.2:
http://www.libsdl.org/projects/SDL_mixer/
This is supposedly from a build made for Visual C++, but when I include SDL_mixer.h I get error C2143: "syntax error : missing ';' before '['".
The problem line is:
const char[] MIX_EFFECTSMAXSPEED = "MIX_EFFECTSMAXSPEED";
Is this because of the use of the dynamic array construct "char[]", instead of "char*"?
All the expressions in the file are wrapped by "extern "C" {
".