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

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2098: system fails to compile with -fno-exceptions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-10-01 19:08:32


#2098: system fails to compile with -fno-exceptions
----------------------------------+-----------------------------------------
  Reporter: brbarret_at_[hidden] | Owner: bemandawes
      Type: Bugs | Status: closed
 Milestone: Boost 1.36.0 | Component: system
   Version: Boost 1.35.0 | Severity: Problem
Resolution: fixed | Keywords:
----------------------------------+-----------------------------------------
Changes (by bemandawes):

  * status: new => closed
  * resolution: => fixed


Old description:

> The regex component fails to compile with GCC when -fno-exceptions is
> specified. The attached patch allows the libraries / tests shipped with
> boost 1.35.0 to compile. There didn't seem to be a better option to make
> g++ happy than to just #ifndef out the catch(...) block, as it would
> otherwise complain about the throw in the block.

New description:

 The regex component fails to compile with GCC when -fno-exceptions is
 specified. The attached patch allows the libraries / tests shipped with
 boost 1.35.0 to compile. There didn't seem to be a better option to make
 g++ happy than to just #ifndef out the catch(...) block, as it would
 otherwise complain about the throw in the block.

--
-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2098#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:58 UTC