Boost logo

Boost :

Subject: Re: [boost] [GCC 4.6] Problems catching exceptions
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2011-01-02 20:42:43


On Sun, Jan 2, 2011 at 5:16 PM, Beman Dawes <bdawes_at_[hidden]> wrote:
> 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.

Thanks for running these tests Beman! Hopefully someone who knows GCC
will notice.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk