[serialization - eceptions] Could not catch exceptions

Hi, i could not catch boost serialization exceptions. By default BOOST_NO_EXCEPTIONS is defined. All attempts to undefine it has no effect. What i try to do: <code> ... #include <boost/config.hpp> #ifdef BOOST_NO_EXCEPTIONS # undef BOOST_NO_EXCEPTIONS #endif ... more boost serialization headers included .... try { std::ifstream ifs("D:\\tmp.bin", std::ios::binary); boost::archive::binary_iarchive ia(ifs); int iIndex = 0; ia >> BOOST_SERIALIZATION_NVP("A", iIndex); ... } catch(std::exception) { ... } </code> Do i miss something to catch boost serialization exceptions? I am using vs2008. Thx for your help. -- View this message in context: http://boost.2283326.n4.nabble.com/serialization-eceptions-Could-not-catch-e... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (1)
-
DaBoneCrack