
23 Oct
2004
23 Oct
'04
12:53 a.m.
"Rene Rivera" wrote:
Compilers tend to eliminate unused code very effectively.
BCB doesn't. And what if logging code relies on debug only members/functions?
Personally, having debugging log statements completely disappear from the source code in a release build is more comforting, even if it involves a macro.
Very true.
It's comforting in an old style sense :-) But I prefer to limit macro use as it interferes with debugging.
Debug support w/o macros may not be useable in many real projects. /Pavel