[Boost-bugs] [Boost C++ Libraries] #7149: system failed to compile with BOOST_NO_EXCEPTIONS defined when -fno-exceptions is NOT used

Subject: [Boost-bugs] [Boost C++ Libraries] #7149: system failed to compile with BOOST_NO_EXCEPTIONS defined when -fno-exceptions is NOT used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-18 20:51:05


#7149: system failed to compile with BOOST_NO_EXCEPTIONS defined when -fno-
exceptions is NOT used
-----------------------------------+----------------------------------------
 Reporter: joeriedel@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.51.0
 Severity: Problem | Keywords:
-----------------------------------+----------------------------------------
 This no longer compiles on mac osx GCC 4 with BOOST_NO_EXCEPTIONS defined
 but without -fno-exceptions. BOOST_NO_EXCEPTIONS can be used to simply
 disable exception handling in boost not necessarily to flag that exception
 handling is disabled at the compiler level:

 http://www.boost.org/doc/libs/1_36_0/libs/utility/throw_exception.html

 BOOST_NO_EXCEPTION can be used to supply a custom exception handler.

 Wrapping the try block on line 136 on system/error_code.cpp with #ifndef
 BOOST_NO_EXCEPTIONS fixes this.

 See ticket #2098

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7149>
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:10 UTC