Sunday, 18 August 2013

Eclipse CDT has DEBUG defined in Release build

Eclipse CDT has DEBUG defined in Release build

I'm using Eclipse CDT to write some C++ code (on Win7 with Cygwin). I
naturally want different/additional behavior when debugging, and use
#ifdef DEBUG occasionally. Unfortunately, it seems that I somehow have
DEBUG defined in Release build configuration as well.
How can I get Eclipse CDT to not define DEBUG?

No comments:

Post a Comment