Boost C++ Libraries: Ticket #2193: exception: boost::exception_detail::bad_alloc_impl does not provide an explicit destructor for gcc/qcc https://svn.boost.org/trac10/ticket/2193 <p> Building the latest version the following error arises: </p> <pre class="wiki">qcc.compile.c++ ../../bin.v2/libs/test/build/qcc-4.2.3/release/execution_monitor.o In file included from ../../boost/throw_exception.hpp:40, from ../../boost/shared_ptr.hpp:31, from ../../boost/test/utils/callback.hpp:21, from ../../boost/test/execution_monitor.hpp:38, from ../../boost/test/impl/execution_monitor.ipp:30, from ../../libs/test/src/execution_monitor.cpp:16: ../../boost/exception/enable_current_exception.hpp:34: error: looser throw specifier for 'virtual boost::exception_detail::bad_alloc_impl::~bad_alloc_impl()' ../../boost/exception/enable_current_exception.hpp:24: error: overriding 'virtual boost::exception_detail::clone_base::~clone_base() throw ()' cc: /usr/qnx632/host/qnx6/x86/usr/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.3/cc1plus error 1 "QCC" -Wc,-ftemplate-depth-100 -O3 -Wc,-finline-functions -Wc,-Wno-inline -shared -I/usr/pkg/include -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_DYN_LINK=1 -DNDEBUG -I"../.." -c -o "../../bin.v2/libs/test/build/qcc-4.2.3/release/execution_monitor.o" "../../libs/test/src/execution_monitor.cpp" ...failed qcc.compile.c++ ../../bin.v2/libs/test/build/qcc-4.2.3/release/execution_monitor.o... </pre><p> It is fixed by the attached patch for me. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2193 Trac 1.4.3 christian.leutloff@… Thu, 14 Aug 2008 15:17:59 GMT attachment set https://svn.boost.org/trac10/ticket/2193 https://svn.boost.org/trac10/ticket/2193 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fix_looser_throw_specifier_in_bad_alloc_impl.diff</span> </li> </ul> Ticket christian.leutloff@… Mon, 18 Aug 2008 08:48:15 GMT <link>https://svn.boost.org/trac10/ticket/2193#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2193#comment:1</guid> <description> <p> This ticket belongs to the component 'exception'. Could somebody please change this? The component 'exception' was added after the creation of this ticket (as stated in the ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2197" title="#2197: Support Requests: Changes for 1.36. (closed: fixed)">#2197</a>). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Mon, 18 Aug 2008 17:17:12 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/2193#comment:2 https://svn.boost.org/trac10/ticket/2193#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Emil Dotchevski</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">exception</span> </li> </ul> Ticket Emil Dotchevski Thu, 18 Sep 2008 22:30:55 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2193#comment:3 https://svn.boost.org/trac10/ticket/2193#comment:3 <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