$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] help with BOOST_DISABLE_ASSERTS
From: er (erwann.rogard_at_[hidden])
Date: 2009-04-10 02:09:51
>
> 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 ...