14 Apr
2009
14 Apr
'09
4:41 p.m.
On Tue, Apr 14, 2009 at 6:34 AM, Dykstra, Martin
Is there a way to disable the exception handling in the Boost libraries? Our project requires that we disable exceptions by using the -no-exceptions parameter when building (via gcc). Is this also a valid parameter to use when building the Boost libraries?
You can #define BOOST_NO_EXCEPTIONS. See http://www.boost.org/doc/libs/1_38_0/libs/exception/doc/throw_exception.html. Your results may vary, as in principle Boost libraries are not required to call boost::throw_exception when throwing. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode