Thanks Ben. I'll be using the latter example as I like to keep my builds as fluff-free as possible.
My current project uses source aimed at 5 different targets so you'll probably understand I want to add as little as possible to the core files. :) Regards, Paul Johnson Applewood House www.applewoodhouse.com ----- Original Message ----- From: "Ben Combee" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, July 31, 2003 4:12 PM Subject: Re: ROM Transfer > At 06:21 AM 7/31/2003, Paul Johnson wrote: > >Meant to add this to the original...... > > > >How on earth can I tell a debug from release build under cw9 please ? The > >manual has a few preprocessor defines listed, but nothing like this. > > Define your own preprocessor define using a prefix file, or if you're using > the default precompiled headers, use ERROR_CHECK_LEVEL, which is defined as > ERROR_CHECK_FULL for debug builds and ERROR_CHECK_PARTIAL for release builds. > > > > -- > Ben Combee <[EMAIL PROTECTED]> > CodeWarrior for Palm OS technical lead > Palm OS programming help @ www.palmoswerks.com > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/