Hello fellow coders, I have a message trace function OVLogger(Char* format,...) which only want compiled in debug mode. I was trying to emulate how VC++ preprocessed the ASSERT macro or something like.... #ifdef DEBUGMODE #define OVLOGMSG OVLogger #else #define OVMSGLOG (void(0)) #endif I know!!!I know!!!Obviously this is not correct. Its just an example of what I am looking for. I inherited (was dumped on) several projects with lots of room for improvement, but not the luxury of rewrite. Any suggestions? Thanks... -- George Aslanis [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
