Opened 10 years ago
Closed 10 years ago
#7395 closed Bugs (fixed)
smart_cast.hpp fails with BOOST_NO_EXCEPTIONS (-fno-exceptions)
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | To Be Determined | Component: | serialization |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | BOOST_NO_EXCEPTIONS -fno-exceptions | Cc: |
Description
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
Attachments (1)
Note:
See TracTickets
for help on using tickets.
patch to fix