diff --git a/src/error_code.cpp b/src/error_code.cpp index e043a55..fa36dc9 100644 --- a/src/error_code.cpp +++ b/src/error_code.cpp @@ -131,10 +131,14 @@ namespace { msg = ( ( result == invalid_argument ) ? "Unknown error" : bp ); } + +# ifndef BOOST_NO_EXCEPTIONS + // See ticket #2098 catch(...) { // just eat the exception } +# endif if ( sz > sizeof(buf) ) std::free( bp ); sz = 0;