From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-10-22 19:53:05
"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.
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk