From: KSpam (keesling_spam_at_[hidden])
Date: 2007-11-29 10:41:21


Nisha,

On Thursday 29 November 2007 06:05:12 nisha kannookadan wrote:
> #define DNDEBUG

This line should be the following:

#define NDEBUG

In reality, it is better to handle this flag in the build system. I would
suggest looking into CMake (http://cmake.org) for a build system. It makes
generating build files much easier. Additionally, I believe that Makefiles
generated by CMake automatically set NDEBUG for release builds.

As with everything worth learning, you will need to invest some time in
learning CMake. You will be rewarded if you do though.

Justin