Boost C++ Libraries: Ticket #7395: smart_cast.hpp fails with BOOST_NO_EXCEPTIONS (-fno-exceptions) https://svn.boost.org/trac10/ticket/7395 <pre class="wiki">lib/boost_1_51_0/boost/serialization/smart_cast.hpp: In static member function ‘static T boost::serialization::smart_cast_impl::pointer&lt;T&gt;::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&lt;T&gt;::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&lt;Derived, Base&gt;::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 </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7395 Trac 1.4.3 phishman3579@… Wed, 19 Sep 2012 15:20:48 GMT attachment set https://svn.boost.org/trac10/ticket/7395 https://svn.boost.org/trac10/ticket/7395 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost2.patch</span> </li> </ul> <p> patch to fix </p> Ticket Robert Ramey Sun, 21 Oct 2012 20:04:27 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7395#comment:1 https://svn.boost.org/trac10/ticket/7395#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed </p> Ticket