Re: [Boost-bugs] [Boost C++ Libraries] #6609: Inconsistent BOOST_ASSERT and BOOST_ASSERT_MSG behavior

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6609: Inconsistent BOOST_ASSERT and BOOST_ASSERT_MSG behavior
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-10 09:54:09


#6609: Inconsistent BOOST_ASSERT and BOOST_ASSERT_MSG behavior
---------------------------------+------------------------------------------
  Reporter: genygetm@… | Owner: no-maintainer
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: utility
   Version: Boost 1.48.0 | Severity: Cosmetic
Resolution: | Keywords: BOOST_ASSERT
---------------------------------+------------------------------------------

Comment (by genygetm@…):

 The fact is that the current behavior (i.e. BOOST_ASSERT ignoring NDEBUG
 when BOOST_ENABLE_ASSERT_HANDLER is set) is something that has been
 existing since the introduction of boost/assert.hpp in boost 1.27.

 BOOST_ASSERT_MSG is a new extension added in boost 1.46 and it does not to
 behave like BOOST_ASSERT. Nothing in the documentation on BOOST_ASSERT_MSG
 says it is by desing, so it is a bug.

 Ticket #7028 (whenever the current BOOST_ASSERT behavior is practical) is
 not a bug, but a question open for debate.

 For the current version of boots this bugfix is appropriate and should be
 applied. The documented behavior as well as the behavior of the long
 existed BOOST_ASSERT is not to be changed, so I see no need update the
 documentation.

 Anyway, my bug report is 10 months old, several boost releases got out
 since then, still with the bug, and nobody seems to care. So I guess it is
 Ok to close this ticket and do something once the decision on #7028 is
 made.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6609#comment:4>
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