Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2005-10-03 14:20:58


Bugs item #1312222, was opened at 2005-10-03 12:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1312222&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: serialization
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Robert Ramey (ramey)
Summary: many "virtual functions vs. non-virtual destructor" warnings

Initial Comment:
Hello,

seems since RC1_1_33_0 the amount of warning has
increased once more.
Compling with gcc 4.02 with "-Wall -pedantic"

It's pretty annyoing and floods the output unnecessary.
Other parts of boost dont have this problem...

---- snip ---
boost/boost/archive/binary_iarchive.hpp:33: warning:
'class boost::archive::binary_iarchive_i
mpl<boost::archive::binary_iarchive>' has virtual
functions but non-virtual destructor
/home/rmichels/minimon/sdk/boost/boost/archive/binary_iarchive.hpp:76:
warning: 'class boost::archive::binary_iarchive'
has virtual functions but non-virtual destructor

boost/boost/archive/detail/common_oarchive.hpp:31:
warning: 'class boost::archive::detail::co
mmon_oarchive<boost::archive::binary_oarchive>' has
virtual functions but non-virtual destructor
boost/boost/archive/basic_binary_oarchive.hpp:53:
warning: 'class boost::archive::basic_binar
y_oarchive<boost::archive::binary_oarchive>' has
virtual functions but non-virtual destructor

boost/boost/archive/basic_xml_iarchive.hpp:40: warning:
'class boost::archive::basic_xml_iarc
hive<boost::archive::xml_iarchive>' has virtual
functions but non-virtual destructor

boost/boost/archive/xml_iarchive.hpp:39: warning:
'class boost::archive::xml_iarchive_impl<bo
ost::archive::xml_iarchive>' has virtual functions but
non-virtual destructor

--------------------

There are some more ...
Whats the purpose of not having virtual dtor but
virtual functions?
Could you please supply a solution, this stuff clutters
output much.

Regards,

A. Focht

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1312222&group_id=7586

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


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