Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7028: NDEBUG should disable asserts even if BOOST_ENABLE_ASSERT_HANDLER is defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-02 11:43:46
#7028: NDEBUG should disable asserts even if BOOST_ENABLE_ASSERT_HANDLER is
defined
--------------------------------------+-------------------------------------
Reporter: mgaunard | Owner: no-maintainer
Type: Bugs | Status: new
Milestone: To Be Determined | Component: utility
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords: BOOST_ASSERT assert BOOST_ENABLE_ASSERT_HANDLER NDEBUG
--------------------------------------+-------------------------------------
Changes (by Kazutoshi Satoda <k_satoda@â¦>):
* cc: k_satoda@⦠(added)
Comment:
+1 for "when both BOOST_ENABLE_ASSERT_HANDLER and NDEBUG are defined the
assert handler is not called".
Otherwise, a build configuration with BOOST_ENABLE_ASSERT_HANDLER needs
additional control for BOOST_DISABLE_ASSERTS (unset for debug and set for
release), which seems unreasonable because NDEBUG is already set (or
unset) to take the same effect.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7028#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC