Boost C++ Libraries: Ticket #3317: Fix is_virtual_base of for gcc 4.4.x https://svn.boost.org/trac10/ticket/3317 <p> Hello, </p> <p> is_virtual_base_of stops working using gcc 4.4.x when the destructor of a derived class contains an exception specification like this: </p> <p> class derived : public base { </p> <blockquote> <p> virtual ~derived() throw(); </p> </blockquote> <p> } </p> <p> A test case, compiler output and a patch for this are attached. </p> <p> Cheers, Thomas </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3317 Trac 1.4.3 thomas.jarosch@… Wed, 05 Aug 2009 09:54:30 GMT attachment set https://svn.boost.org/trac10/ticket/3317 https://svn.boost.org/trac10/ticket/3317 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">testcase.cpp</span> </li> </ul> <p> Test case </p> Ticket thomas.jarosch@… Wed, 05 Aug 2009 09:55:11 GMT attachment set https://svn.boost.org/trac10/ticket/3317 https://svn.boost.org/trac10/ticket/3317 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">gcc_compile_output.txt</span> </li> </ul> <p> gcc (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4) </p> <blockquote> <p> compiler output </p> </blockquote> Ticket thomas.jarosch@… Wed, 05 Aug 2009 09:55:47 GMT attachment set https://svn.boost.org/trac10/ticket/3317 https://svn.boost.org/trac10/ticket/3317 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-is_virtual_base_of-exception-specificiton.patch</span> </li> </ul> <p> Fix for the issue </p> Ticket John Maddock Thu, 06 Aug 2009 08:54:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3317#comment:1 https://svn.boost.org/trac10/ticket/3317#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> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/55428" title="Fixes #3317. Fix is_virtual_base_of so it doesn't lose exception ...">[55428]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3317" title="#3317: Bugs: Fix is_virtual_base of for gcc 4.4.x (closed: fixed)">#3317</a>. Fix is_virtual_base_of so it doesn't lose exception specifications on it's destructors (causes GCC and maybe other compilers to choke). </p> Ticket