Matt Koss wrote: > > I have started to use kdebug macro for debugging. > > I tried to compile my program with -DNDEBUG option, so that all debug info goes > away. I was curious about the change in size of executable. > > Guess what. It was even bigger after compilation ! > ( 239 kB instead of 194 kB without -DNDEBUG ) > > I hope that I did something wrong, because this cannot be true ! > > I did export CXXFLAGS=-DNDEBUG , then I ran configure , make clean and make > Well, depends on what have been in your CXXFLAGS before :) If it has been -O2, that's definitly possible. Try adding -DNDEBUG to CXXFLAGS, not replace your old settings. Greetings, Stephan -- A big plus when your parents split up, is, that you don't have to imagine them doing it again. * Mr. Rhodes