Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-11-15 03:08:54

Vladimir Prus wrote:
> On Saturday 12 November 2005 01:48, Reece Dunn wrote:
>> Volodya/Rene/Dave: Is there a reason why variant debug doesn't define
>> _DEBUG, but variant release defines NDEBUG. VC projects define _DEBUG
>> for release builds.
> As for me, just because I never used or even knew about _DEBUG. I always used
> NDEBUG for guard debug code. It does not seem that _DEBUG is as universal as
> NDEBUG, do we really need to add it to "debug" variant? Maybe, only for msvc
> toolset?

Ok. However, one small note: _DEBUG is used in Windows programs, so it
may be better in Alexey's forthcoming msplatform.jam where it can be
used by msvc.jam, intel-win.jam, cw.jam, borland.jam, gcc.jam (Windows),
et. al.

- Reece


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at