--- Benjamin Brazil <[EMAIL PROTECTED]> wrote: > I was just wondering what exactly the CWDebugDefines.h > file does. I assume that it is CodeWarrior specific and > is concerned with the debug target. If that is the case > why isn't there a release header file. I am using > CodeWarrior 7.
Did you look at the contents of CWDebugDefines.h? It shouldn't be too hard to figure out. Where did you find CWDebugDefines.h? I have CW7 on this machine and I find this file only in 2 places: 1. ...\CodeWarrior for Palm OS Platform 7.0\Thrill Seekers\PilRC CW Plugin\Starter using PilRC\Src 2. ...\CodeWarrior for Palm OS Platform 7.0\Stationery\Palm OS Application\OReillyStarter\Src In the 2 above cases, the purpose of the file is to be included in the debug version of a project created with that stationery. If you #include "CWDebugDefines.h", then your app #defines DEBUG_BUILD so tests like the following will work: #ifdef DEBUG_BUILD #define ERROR_CHECK_LEVEL ERROR_CHECK_FULL #endif -or- #ifdef DEBUG_BUILD DisplayStatusMessage(error); #endif __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
