In the C++ Language Settings panel, specify a different Prefix File -- I use
"PalmOS_Debug_Headers".
Then add a separate "palmos.debug.win.pch" file to your Debug target, which
is just a copy of "palmos.win.pch" with your #define DEBUG inserted.

// chris


"Jeff Wheeler" <[EMAIL PROTECTED]> wrote in message
news:109041@palm-dev-forum...
> Bill Andreozzi wrote:
> >> I've searched all the help docs as well as all the IDE settings,
> >> it's not obvious (to me) how to turn this preprocessor definition
> >> on for my debug builds?
>
> There's probably a smarter way, but this is what I do in one of my common
> headers:
>
> #if __option(a6frames)
> #define _DEBUG
> #endif



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to