
On Sun, Jan 2, 2011 at 6:08 PM, Emil Dotchevski <emildotchevski@gmail.com> wrote:
On Sun, Jan 2, 2011 at 8:44 AM, Beman Dawes <bdawes@acm.org> wrote:
When I try to run the Boost Filesystem V3 regression tests against this build, however, all the tests fail that involve catching an exception. These tests pass for numerous other compilers, and for other versions of GCC.
It's worth running the Boost Exception tests. Let me know if you need help with that.
All Boost Exception tests passing here with MinGW/GCC 4.5. With MinGW/GCC 4.6, copy_exception_test and exception_ptr_test are failing at link time with "multiple definition of `non-virtual thunk" errors for error_info_injector, clone_impl, error_info_injector, etc. error_info_test is failing 8 run tests: error_info_test.cpp(262): test '*boost::get_error_info<test_1>(x)==42' failed in function 'void test_add_tuple()' error_info_test.cpp(263): test '*boost::get_error_info<test_2>(x)==42u' failed in function 'void test_add_tuple()' error_info_test.cpp(277): test '*boost::get_error_info<test_1>(x)==42' failed in function 'void test_add_tuple()' error_info_test.cpp(278): test '*boost::get_error_info<test_2>(x)==42u' failed in function 'void test_add_tuple()' error_info_test.cpp(279): test '*boost::get_error_info<test_3>(x)==42.0f' failed in function 'void test_add_tuple()' error_info_test.cpp(293): test '*boost::get_error_info<test_1>(x)==42' failed in function 'void test_add_tuple()' error_info_test.cpp(294): test '*boost::get_error_info<test_2>(x)==42u' failed in function 'void test_add_tuple()' error_info_test.cpp(295): test '*boost::get_error_info<test_3>(x)==42.0f' failed in function 'void test_add_tuple()' 8 errors detected. So the problems appear to affect Boost Exception too. --Beman