
Does doing a release build of the boost libraries define NDEBUG. (don't know if this is standard) but in C++Builder, NDEBUG disables asserts so it is useful to define it when doing release builds. Thanks Russell

Russell Hind wrote:
Does doing a release build of the boost libraries define NDEBUG. (don't know if this is standard) but in C++Builder, NDEBUG disables asserts so it is useful to define it when doing release builds.
You can find it out yourself. Just run bjam with "-n" option (like "bjam -n -sTOOLS=msvc") and instead of invoking tools it will print the commands. It's easy to see if NDEBUG is in compiler's command line, or not. HTH, Volodya

Thanks, I'll give it a run. Russell Vladimir Prus wrote:
Russell Hind wrote:
Does doing a release build of the boost libraries define NDEBUG. (don't know if this is standard) but in C++Builder, NDEBUG disables asserts so it is useful to define it when doing release builds.
You can find it out yourself. Just run bjam with "-n" option (like "bjam -n -sTOOLS=msvc") and instead of invoking tools it will print the commands. It's easy to see if NDEBUG is in compiler's command line, or not.
HTH, Volodya
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
participants (2)
-
Russell Hind
-
Vladimir Prus