[Boost-bugs] [Boost C++ Libraries] #7395: smart_cast.hpp fails with BOOST_NO_EXCEPTIONS (-fno-exceptions)

Subject: [Boost-bugs] [Boost C++ Libraries] #7395: smart_cast.hpp fails with BOOST_NO_EXCEPTIONS (-fno-exceptions)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-19 15:20:31


#7395: smart_cast.hpp fails with BOOST_NO_EXCEPTIONS (-fno-exceptions)
-------------------------------------------------+--------------------------
 Reporter: phishman3579@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: BOOST_NO_EXCEPTIONS -fno-exceptions |
-------------------------------------------------+--------------------------
 {{{
 lib/boost_1_51_0/boost/serialization/smart_cast.hpp: In static member
 function ‘static T
 boost::serialization::smart_cast_impl::pointer<T>::polymorphic::cast(U*)
 [with U = const BooleanMonitor, T = const Monitor*]’:
 lib/boost_1_51_0/boost/serialization/smart_cast.hpp:232:37: instantiated
 from ‘static T boost::serialization::smart_cast_impl::pointer<T>::cast(U*)
 [with U = const BooleanMonitor, T = const Monitor*]’
 lib/boost_1_51_0/boost/serialization/smart_cast.hpp:288:25: instantiated
 from ‘T boost::serialization::smart_cast(U) [with T = const Monitor*, U =
 const BooleanMonitor*]’
 lib/boost_1_51_0/boost/serialization/void_cast.hpp:168:13: instantiated
 from ‘const void*
 boost::serialization::void_cast_detail::void_caster_primitive<Derived,
 Base>::upcast(const void*) const [with Derived = BooleanMonitor, Base =
 Monitor]’
 src/mensa/mensa_reasoning/monitor/MonitorParser.cxx:203:1: instantiated
 from here
 lib/boost_1_51_0/boost/serialization/smart_cast.hpp:204:57: error:
 exception handling disabled, use -fexceptions to enable

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7395>
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:10 UTC