Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2898: iterator_range field removal when NDEBUG defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-31 10:23:24
#2898: iterator_range field removal when NDEBUG defined
---------------------------------+------------------------------------------
Reporter: ethan.howe_at_[hidden] | Owner: nesotto
Type: Bugs | Status: closed
Milestone: Boost 1.39.0 | Component: range
Version: Boost 1.36.0 | Severity: Problem
Resolution: invalid | Keywords:
---------------------------------+------------------------------------------
Changes (by anonymous):
* status: new => closed
* resolution: => invalid
Comment:
You cannot mix realease and debug builds without violating the ODR. It's
undefined behavior. Any program that uses assert() or BOOST_ASSERT() needs
to define NDEBUG consistently across all compilation units and
dependencies.
-Thorsten
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2898#comment:1> 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:59 UTC