Subject: [Boost-bugs] [Boost C++ Libraries] #2322: Throw specifier missing on exception_clone
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-12 19:30:24
#2322: Throw specifier missing on exception_clone
--------------------------+-------------------------------------------------
Reporter: anonymous | Owner: emildotchevski
Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: exception
Version: Boost 1.36.0 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
I get a build error when cross compiling Boost because
boost::exception_detail::exception_clone is instantiated with a template
parameter of boost::exception_detail::error_info_injector. This causes it
to inherit from error_info_injector, which has a throw() specifier on its
destructor. Since exception_clone doesn't have an explicit destructor,
GCC complains about the missing throw() specifier.
I fixed the problem with the attached patch - no idea if it's the correct
solution, though.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2322> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC