Re: [Boost-bugs] [Boost C++ Libraries] #2100: thread fails to compile with -fno-exceptions

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2100: thread fails to compile with -fno-exceptions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-08 18:56:42


#2100: thread fails to compile with -fno-exceptions
----------------------------------+-----------------------------------------
  Reporter: brbarret@… | Owner: viboes
      Type: Feature Requests | Status: assigned
 Milestone: Boost 1.51.0 | Component: thread
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+-----------------------------------------

Comment (by nigels@…):

 For the most part, this all looks good in svn main trunk.
 However, there still appears to be an issue concerning thread_future.hpp:

 In file included from
 ../../../../../tools/Common/boost-1.50.0/boost/exception_ptr.hpp:9,
                  from
 ../../../../../tools/Common/boost-1.50.0/boost/thread/future.hpp:18,
                  from
 ../../../../../tools/Common/boost-1.50.0/boost/thread.hpp:24,
                  from myheader.h:48:
 ../../../../../tools/Common/boost-1.50.0/boost/exception/detail/exception_ptr.hpp:17:2:
 error: #error This header requires exception handling to be enabled.

 My workaround for this is to move the #ifndef BOOST_NO_EXCEPTIONS
 to the entire scope of thread/future.hpp.

 And thanks for the long-awaited progress on this. :-)

 - Nigel

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