Suppressing warnings. Please report any problems (may have broken something!)

[SVN r58072]
This commit is contained in:
Emil Dotchevski
2009-12-01 02:16:50 +00:00
parent 3ab1c234f5
commit 8d24c87032
26 changed files with 600 additions and 490 deletions

View File

@ -17,6 +17,11 @@
#include <boost/detail/lightweight_test.hpp>
#include <exception>
#include <boost/config.hpp>
#ifdef BOOST_MSVC
#pragma warning(disable:4702) //unreachable code
#endif
struct
test_exception:
virtual boost::exception,
@ -43,7 +48,7 @@ main()
#else
BOOST_THROW_EXCEPTION(e<<errinfo_type_info_name(typeid(int).name()));
#endif
BOOST_TEST(false);
BOOST_ERROR("BOOST_THROW_EXCEPTION failed to throw.");
}
catch(
boost::exception & e )