Boost C++ Libraries: Ticket #439: shared_ptr tests have warnings on linux https://svn.boost.org/trac10/ticket/439 <pre class="wiki">1. warning: `class n_spt_abstract::X' has virtual functions but non-virtual destructor Resolution: add virtual keyword to destructor 2. warning: `class n_spt_shared_from_this::X' has virtual functions but non-virtual destructor Resolution: add virtual keyword to destructor 3. warning: `class n_spt_shared_from_this::Y' has virtual functions but non-virtual destructor Resolution: add virtual keyword to destructor 4. warning: `class n_spt_shared_from_this::impl' has virtual functions but non-virtual destructor Resolution: same as above Might I suggest that the Boost community crank up their warning levels and clean up their code too? </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/439 Trac 1.4.3 Peter Dimov Thu, 14 Jul 2005 17:10:45 GMT status changed https://svn.boost.org/trac10/ticket/439#comment:1 https://svn.boost.org/trac10/ticket/439#comment:1 <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. shared_ptr supports classes with non-virtual destructors. </pre> Ticket