10 Apr
2009
10 Apr
'09
6:09 a.m.
You're probably not defining BOOST_DISABLE_ASSERTS before including boost/assert.hpp. As I recall, the definition of BOOST_ASSERT can be changed by changing BOOST_DISABLE_ASSERTS and reincluding boost/assert.hpp
Thanks. This works in Release mode: #ifdef NDEBUG #define BOOST_DISABLE_ASSERTS #endif I would have thought that BOOST_DISABLE_ASSERTS would also be defined without the #ifdef condition but ...