Trying to use DEBUG on Windows CE in either debug or release mode, and the compiler complains with :
call to undefined function : DEBUG("1")
there is no debug mode for non-win32.
Could you perhaps write to a temporary file (or even do nothing) - its not always possible to remove all debug statements when compiling for a non-Windows platform.
That should already be done, I never got any problems with debug statements on gp2x so far? Not that I have tried the last 6 months or so...
The problem, by the way, only occurs when trying to compile for Windows CE :)
Oh, doh! Sorry, that's a bug then.
HA!!!
DEBUG has no braces!!
DEBUG "1" instead of DEBUG("1") -> I'll make better error messages, though.
I've always been using them with brackets!
I do that now and then too but I usually correct it before compiling so didn't notice that thing :-)