DEBUG on Windows CE isn't recognised

Previous topic - Next topic

MrTAToad

Trying to use DEBUG on Windows CE in either debug or release mode, and the compiler complains with :

Code (glbasic) Select
call to undefined function : DEBUG("1")

Kitty Hello

there is no debug mode for non-win32.

MrTAToad

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.

Moru

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...

MrTAToad

The problem, by the way, only occurs when trying to compile for Windows CE :)

Kitty Hello

Oh, doh! Sorry, that's a bug then.

Kitty Hello

HA!!!
DEBUG has no braces!!
DEBUG "1" instead of DEBUG("1") -> I'll make better error messages, though.

MrTAToad

I've always been using them with brackets!

Moru

I do that now and then too but I usually correct it before compiling so didn't notice that thing :-)