Ticket #2343: libs_exception.patch
File libs_exception.patch, 3.1 KB (added by , 14 years ago) |
---|
-
test/cloning_test.cpp
7 7 #include <boost/exception/get_error_info.hpp> 8 8 #include <boost/exception/info.hpp> 9 9 #include <boost/detail/lightweight_test.hpp> 10 #include <boost/detail/workaround.hpp> 10 11 #include <string> 11 12 13 #if BOOST_WORKAROUND(__CODEGEARC__, BOOST_TESTED_AT(0x610)) 14 struct my_tag {}; 15 #endif 16 12 17 typedef boost::error_info<struct my_tag,int> my_info; 13 18 14 19 template <class T> -
test/diagnostic_information_test.cpp
6 6 #include <boost/exception/diagnostic_information.hpp> 7 7 #include <boost/exception/info.hpp> 8 8 #include <boost/detail/lightweight_test.hpp> 9 #include <boost/detail/workaround.hpp> 9 10 11 #if BOOST_WORKAROUND(__CODEGEARC__, BOOST_TESTED_AT(0x610)) 12 struct test_tag {}; 13 #endif 14 10 15 typedef boost::error_info<struct test_tag,int> tag_int; 11 16 12 17 struct -
test/errno_test.cpp
6 6 #include <boost/exception/get_error_info.hpp> 7 7 #include <boost/exception/info.hpp> 8 8 #include <boost/detail/lightweight_test.hpp> 9 #include <boost/detail/workaround.hpp> 9 10 #include <errno.h> 10 11 12 #if BOOST_WORKAROUND(__CODEGEARC__, BOOST_TESTED_AT(0x610)) 13 struct tag_errno {}; 14 #endif 15 11 16 typedef boost::error_info<struct tag_errno,int> info_errno; 12 17 13 18 class -
test/error_info_test.cpp
6 6 #include <boost/exception/get_error_info.hpp> 7 7 #include <boost/exception/info_tuple.hpp> 8 8 #include <boost/detail/lightweight_test.hpp> 9 #include <boost/detail/workaround.hpp> 9 10 10 11 struct throws_on_copy; 11 12 struct non_printable { }; … … 34 35 } 35 36 }; 36 37 38 #if BOOST_WORKAROUND(__CODEGEARC__, BOOST_TESTED_AT(0x610)) 39 struct tag_test_1 {}; 40 struct tag_test_2 {}; 41 struct tag_test_3 {}; 42 struct tag_test_4 {}; 43 struct tag_test_5 {}; 44 struct tag_test_6 {}; 45 struct tag_user_data {}; 46 #endif 47 37 48 typedef boost::error_info<struct tag_test_1,int> test_1; 38 49 typedef boost::error_info<struct tag_test_2,unsigned int> test_2; 39 50 typedef boost::error_info<struct tag_test_3,float> test_3; -
test/unknown_exception_test.cpp
7 7 #include <boost/exception/get_error_info.hpp> 8 8 #include <boost/exception/info.hpp> 9 9 #include <boost/detail/lightweight_test.hpp> 10 #include <boost/detail/workaround.hpp> 10 11 12 #if BOOST_WORKAROUND(__CODEGEARC__, BOOST_TESTED_AT(0x610)) 13 struct tag_test {}; 14 #endif 15 11 16 typedef boost::error_info<struct tag_test,int> test; 12 17 13 18 struct