Boost C++ Libraries: Ticket #2322: Throw specifier missing on exception_clone https://svn.boost.org/trac10/ticket/2322 <p> 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. </p> <p> I fixed the problem with the attached patch - no idea if it's the correct solution, though. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2322 Trac 1.4.3 mlcreech@… Fri, 12 Sep 2008 19:31:08 GMT attachment set https://svn.boost.org/trac10/ticket/2322 https://svn.boost.org/trac10/ticket/2322 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">03-exception-clone-destructor-fix.patch</span> </li> </ul> Ticket Emil Dotchevski Thu, 18 Sep 2008 22:31:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2322#comment:1 https://svn.boost.org/trac10/ticket/2322#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket