Modify

Ticket #6875 (new Feature Requests)

Opened 5 years ago

[signals2] compilation error in fnoexception

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

Description

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

Attachments

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
Author


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

 
Note: See TracTickets for help on using tickets.