Subject: [Boost-bugs] [Boost C++ Libraries] #2101: variant fails to compile with -fno-exceptions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-10 04:42:28
#2101: variant fails to compile with -fno-exceptions
---------------------------------+------------------------------------------
Reporter: brbarret_at_[hidden] | Owner: ebf
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: variant
Version: Boost 1.35.0 | Severity: Problem
Keywords: |
---------------------------------+------------------------------------------
The variant 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/2101> 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