Page 1 of 1

odDebugInit() always neccessary?

Posted: Sun Jun 07, 2009 6:07 pm
by mschumann
As the title says, is odDebugInit() always necessary? Can I omit the debugging code somehow?

Re: odDebugInit() always neccessary?

Posted: Sun Jun 07, 2009 8:52 pm
by christian
If you compile with -DDEBUG_LEVEL=0 or omit the define for DEBUG_LEVEL, all debug code is omitted. odDebugInit() emits code only if your debug level is at least 1. Having that said: You can of course omit the debug functions if you don't compile with debugging enabled.