On Sun, 13 Apr 2008 20:20:28 -0700, "Chris Thomasson"
>VC++ IDE should automatically define NDEBUG for release builds.
I don't use IDE. For VC++, I use command line:
cl /O2 /GL test.cpp /link /ltcg
and for gcc,
g++ -O2 -fomit-frame-pointer -finline-functions "new.cpp" -o "new.exe"
The macro output was printed anyway. In any case, I commented them
out.