Opened 6 years ago

#6875 new Feature Requests

[signals2] compilation error in fnoexception

Reported by: Akira Takahashi <faithandbrave@…> Owned by: Frank Mori Hess
Milestone: To Be Determined Component: signals2
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:


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"
#include <boost/signals2.hpp>

int main ()
In file included from C:\Library\Boost\boost_1_49_0/boost/signals2/deconstruct.h
                 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
C:\Library\Boost\boost_1_49_0/boost/signals2/deconstruct_ptr.hpp:48:15: error: e
xception handling disabled, use -fexceptions to enable

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Frank Mori Hess.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.