Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5204: compile warning in serialization/extended_type_info.hpp on visual studio: c4265
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-19 17:49:41
#5204: compile warning in serialization/extended_type_info.hpp on visual studio:
c4265
------------------------------------------------------+---------------------
Reporter: David Frink <david.frink@â¦> | Owner: ramey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------------+---------------------
Comment (by ramey):
The reason this "virtual" is not necessary is that the destructor is
protected so it cannot be called directly so there is no need to add a new
member to the virtual function table. GCC doesn't have a convenient way
to suppress bogus warnings so to avoid this warning I had to do this.
This is basically the wrong thing to do but if I don't do it, I get
complaints about "bugs" in the library. If you want to suggest the usaage
of a praga or something for msvc - I'll put it in.
Robert Ramey
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5204#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC