Subject: [Boost-bugs] [Boost C++ Libraries] #6875: [signals2] compilation error in fnoexception
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-08 07:53:16
#6875: [signals2] compilation error in fnoexception
-------------------------------------------------------+--------------------
Reporter: Akira Takahashi <faithandbrave@â¦> | Owner: fmhess
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: signals2
Version: Boost 1.49.0 | Severity: Problem
Keywords: |
-------------------------------------------------------+--------------------
Boost.Signals2 compile error because Boost.Signals2 using try/catch
grammar (not BOOST_TRY/BOOST_CATCH) in fnoexception environment.
This ticket is feature requests (not bug).
{{{
// g++ main.cpp -fno-exceptions -I "C:\Library\Boost\1_49_0"
#define BOOST_NO_EXCEPTIONS
#include <boost/signals2.hpp>
int main ()
{
}
}}}
{{{
In file included from
C:\Library\Boost\boost_1_49_0/boost/signals2/deconstruct.h
pp:29:0,
from C:\Library\Boost\boost_1_49_0/boost/signals2.hpp:15,
from main.cpp:2:
C:\Library\Boost\boost_1_49_0/boost/signals2/deconstruct_ptr.hpp: In
function 'v
oid boost::signals2::detail::do_predestruct(const
boost::signals2::predestructib
le_adl_barrier::predestructible*)':
C:\Library\Boost\boost_1_49_0/boost/signals2/deconstruct_ptr.hpp:48:15:
error: e
xception handling disabled, use -fexceptions to enable
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6875> 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:09 UTC