Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2100: thread fails to compile with -fno-exceptions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-03 18:53:11
#2100: thread fails to compile with -fno-exceptions
---------------------------------+------------------------------------------
Reporter: brbarret@⦠| Owner: anonymous
Type: Bugs | Status: assigned
Milestone: Boost 1.43.0 | Component: thread
Version: Boost 1.35.0 | Severity: Problem
Keywords: |
---------------------------------+------------------------------------------
Changes (by nigels@â¦):
* milestone: Boost 1.40.0 => Boost 1.43.0
Comment:
Attached a small patch so that pthread/thread_data.hpp can compile with
BOOST_NO_EXCEPTIONS defined for OSX Leopard (gcc 4.0.1). Interruption
just doesn't seem relevant without exception handling support enabled.
But that shouldn't hinder the use of other threading facilities.
There is one other minor change I'd recommend for boost::thread
and BOOST_NO_EXCEPTIONS harmony: boost/thread.hpp includes
boost/thread/future.hpp which seems to require exception
handling to be useful. I'll also attach a diff here for simply
skipping that include if BOOST_NO_EXCEPTIONS is defined.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2100#comment:12> 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:02 UTC