From: Dean M. B. <mik...@gm...> - 2011-03-14 00:17:42
|
On Mon, Mar 14, 2011 at 4:17 AM, Hochhaus, Andrew <aho...@sa...> wrote: > Hello, > > As cpp-netlib is being written for potential future inclusion in boost > it might be worth allowing complication without exceptions when > BOOST_NO_EXCEPTIONS is specified. That way projects which disallow > exceptions can compile with -fno-exceptions. Looking at the cpp-netlib > code it seems that very few sites utilize exceptions so it would > likely be a minimally invasive patch. > Thanks for the suggestion Andy. I remember having to look for bare calls to 'throw' and replacing them with BOOST_THROW -- with the intention that BOOST_NO_EXCEPTIONS would require users to provide their own exception handler function. I hoped that these would be sufficient, although I'm not sure whether you're looking for anything more specific with regards to BOOST_NO_EXCEPTIONS. HTH -- Dean Michael Berris http://about.me/deanberris |