
29 Nov
2007
29 Nov
'07
3:41 p.m.
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