Boost C++ Libraries: Ticket #441: shared_ptr_basic_tests warnings on linux https://svn.boost.org/trac10/ticket/441 <pre class="wiki">1. warning: `struct X' has virtual functions but non-virtual destructor Resolution: add virtual keyword to destructor 2. warning: `struct Y' has virtual functions but non-virtual destructor Resolution: same as above </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/441 Trac 1.4.3 redi Thu, 14 Jul 2005 16:55:05 GMT <link>https://svn.boost.org/trac10/ticket/441#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/441#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=426241 The right fix is to add -Wno-non-virtual-dtor to the compiler command. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Thu, 14 Jul 2005 17:08:47 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/441#comment:2 https://svn.boost.org/trac10/ticket/441#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=305912 The lack of virtual destructor is part of what is being tested. </pre> Ticket