Boost logo

Boost :

From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2008-05-01 21:11:20


SVN rev. 44954 from yesterday introduces new g++ warnings (several
g++ versions, incl. 4.1.2 Fedora 8). See below. Would it make sense
to add the virtual destructors g++ want's to have?
Ralf

include_te.cpp:
#include <boost/throw_exception.hpp>

% svn update -r44953
Updated to revision 44953.

% g++ -Wall -c -I$hot/boost include_te.cpp

% svn update -r44954
U boost/throw_exception.hpp
Updated to revision 44954.

% g++ -Wall -c -I$hot/boost include_te.cpp
boost/exception/detail/counted_base.hpp:17: warning: 'class boost::exception_detail::counted_base' has virtual functions but non-virtual destructor
boost/exception/detail/cloning_base.hpp:19: warning: 'class boost::exception_detail::cloning_base' has virtual functions but non-virtual destructor
boost/exception/enable_current_exception.hpp:24: warning: 'class boost::exception_detail::clone_base' has virtual functions but non-virtual destructor
boost/exception/exception.hpp:27: warning: 'struct boost::exception_detail::error_info_container' has virtual functions but non-virtual destructor


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk