Group: comp.lang.c++
From: Razii
Date: Sunday, April 13, 2008 9:31 PM
Subject: Re: Do you use a garbage collector?

On Sun, 13 Apr 2008 20:20:28 -0700, "Chris Thomasson"
wrote:

>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.

Safety Articles | Usenet Groups | Usenet News | Bluegrass