GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2010-Jan-18

Title: DEBUG on Windows CE isn't recognised
Post by: MrTAToad on 2010-Jan-18
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")
Title: Re: DEBUG on Windows CE isn't recognised
Post by: Kitty Hello on 2010-Jan-19
there is no debug mode for non-win32.
Title: Re: DEBUG on Windows CE isn't recognised
Post by: MrTAToad on 2010-Jan-19
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.
Title: Re: DEBUG on Windows CE isn't recognised
Post by: Moru on 2010-Jan-19
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...
Title: Re: DEBUG on Windows CE isn't recognised
Post by: MrTAToad on 2010-Jan-19
The problem, by the way, only occurs when trying to compile for Windows CE :)
Title: Re: DEBUG on Windows CE isn't recognised
Post by: Kitty Hello on 2010-Jan-19
Oh, doh! Sorry, that's a bug then.
Title: Re: DEBUG on Windows CE isn't recognised
Post by: Kitty Hello on 2010-Jan-19
HA!!!
DEBUG has no braces!!
DEBUG "1" instead of DEBUG("1") -> I'll make better error messages, though.
Title: Re: DEBUG on Windows CE isn't recognised
Post by: MrTAToad on 2010-Jan-20
I've always been using them with brackets!
Title: Re: DEBUG on Windows CE isn't recognised
Post by: Moru on 2010-Jan-20
I do that now and then too but I usually correct it before compiling so didn't notice that thing :-)