At 14:58 2003-1-22 +0100, you wrote:
Hello,

I don't exactly see differencies in the CW projet setting betwwen DEBUG and
RELEASE target?

What is the differences?
Look at the project settings. In a wizard created project, these two targets will usually differ in the optimization level used and the output filenames or output directories.

Is there a define that I can test in my code?
In general, no, but there are a few things. A CW-generated project will default to using a debug precompiled header for the debug target, and a release PCH for the other. The debug version has

#define ERROR_CHECK_LEVEL ERROR_CHECK_FULL

while the release one leaves ERROR_CHECK_LEVEL at its default value, ERROR_CHECK_PARTIAL.

You can define your own prefix file for each target and #define whatever you want to tell the targets apart.

I can compile my application in debug, but I have a link error in release ?
As mentioned, this can be due to having different segmentation for each, or by adding files to one target and not the other.


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

Reply via email to