Lynn Allan wrote:
> 
> I looked at the Palm docs, and found the info:
> "Call this macro to display an error message, source code
> filename, and line number. This macro is compiled into the 
> code only if the compiler define ERROR_CHECK_LEVEL is set 
> to 1 or 2 (ERROR_CHECK_PARTIAL or ERROR_CHECK_FULL)."
> 
> I looked through the CW project settings, and I don't see 
> anywhere to set this. Am I missing something? Not looking 
> in the correct place? 

It's a preprocessor macro that you must define.  I think what most people do is 
to create a header file for release builds and a header file for debug builds 
that each defines ERROR_CHECK_LEVEL appropriately.  You then can configure the 
CodeWarrior targets to use the appropriate header file as the prefix file.

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

Reply via email to