
"Jody Hagins" <jody-boost-011304@atdesk.com> wrote
I am not "portability man" but it appears you may have only tested this when both BOOST_NO_EXCEPTIONS is defined and it is for BORLAND, as the third definition of BOOST_TRY is missing the beginning scope marker.
Yes, I stand corrected. #if !(defined BOOST_NO_EXCEPTIONS) # define BOOST_TRY { try # define BOOST_CATCH(x) catch(x) # define BOOST_RETHROW throw # define BOOST_CATCH_END } #else # if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) # define BOOST_TRY { if ("") # define BOOST_CATCH(x) else if (!"") # else # define BOOST_TRY { if (true) # define BOOST_CATCH else if (false) # endif # define BOOST_RETHROW # define BOOST_CATCH_END } #endif /Pavel