[Boost-bugs] [Boost C++ Libraries] #1793: Error in iterator_range if NDEBUG is defined but BOOST_DISABLE_ASSERTS is not

Subject: [Boost-bugs] [Boost C++ Libraries] #1793: Error in iterator_range if NDEBUG is defined but BOOST_DISABLE_ASSERTS is not
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-08 19:49:10


#1793: Error in iterator_range if NDEBUG is defined but BOOST_DISABLE_ASSERTS is
not
------------------------------+---------------------------------------------
 Reporter: Stephan | Owner: nesotto
     Type: Patches | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Attached patch fixes an error if NDEBUG is defined and
 BOOST_DISABLE_ASSERTS is not.
 This happens for us in "checked" builds. With optimizations enabled, but
 still several checks.
 Patch just uses the same define (BOOST_DISABLE_ASSERTS) for ifdeffing
 debug stuff that is used in the boost assertion.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1793>
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:49:57 UTC