id summary reporter owner description type status milestone component version severity resolution keywords cc 9096 local_time.hpp won't compile with BOOST_NO_EXCEPTIONS Alex Henrie az_sw_dude "I have a project that is compiled with -fno-exceptions and -DBOOST_NO_EXCEPTIONS, but I get a compilation error when I try to use Boost's date/time library. To reproduce the error, just say: {{{ #include }}} The error is: {{{ /usr/include/boost/numeric/conversion/converter_policies.hpp:162: error: exception handling disabled, use -fexceptions to enable }}} And the offending code in converter_policies.hpp is: {{{ struct def_overflow_handler { void operator() ( range_check_result r ) // throw(negative_overflow,positive_overflow) { if ( r == cNegOverflow ) throw negative_overflow() ; else if ( r == cPosOverflow ) throw positive_overflow() ; } } ; }}} According to http://boost.2283326.n4.nabble.com/no-exceptions-td3395091.html, BOOST_NO_EXCEPTIONS is actively supported and exceptions are always supposed to go through BOOST_THROW_EXCEPTION or boost::throw_exception to avoid compilation errors like this one." Bugs closed To Be Determined date_time Boost 1.49.0 Showstopper fixed emildotchevski@…