Boost C++ Libraries: Ticket #3382: Non-virtual destructor in exception_ptr_base https://svn.boost.org/trac10/ticket/3382 <p> Hi, </p> <p> with g++ 4.2.4 and -Wnon-virtual-dtor, I get </p> <p> boost/exception/detail/exception_ptr_base.hpp:17: warning: ‘class boost::exception_detail::exception_ptr_base’ has virtual functions but non-virtual destructor </p> <p> Regards, </p> <p> Roland </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3382 Trac 1.4.3 Steven Watanabe Tue, 01 Sep 2009 17:38:01 GMT <link>https://svn.boost.org/trac10/ticket/3382#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3382#comment:1</guid> <description> <p> This appears to be a spurious warning. exception_ptr_base is an implementation detail and the library never deletes through a pointer to one. </p> </description> <category>Ticket</category> </item> <item> <author>rbock@…</author> <pubDate>Tue, 01 Sep 2009 19:48:47 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3382#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3382#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/3382#comment:1" title="Comment 1">steven_watanabe</a>: </p> <blockquote class="citation"> <p> This appears to be a spurious warning. exception_ptr_base is an implementation detail and the library never deletes through a pointer to one. </p> </blockquote> <p> Maybe its spurious, but it is a nuisance... and easily to be fixed by adding a virtual destructor, isn't it? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Emil Dotchevski</dc:creator> <pubDate>Tue, 01 Dec 2009 19:19:58 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3382#comment:3 https://svn.boost.org/trac10/ticket/3382#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