This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] C++1x breaking the ABI in one more place :(
Ian Lance Taylor wrote:
> The vtables in libstdc++ have symbol versions. Therefore it is
> possible in principle to keep the old vtable at the old symbol version
> (GLIBCXX_3.4) and provide the new vtable at the new version.
That's an interesting idea. We don't have an easy way of getting the
compiler to provide the old version of the vtable, but we could make
one, or, at least in theory, do the vtable by hand. But, that still
doesn't help if you pass an old version of the derived class to
something expecting the new version, so that doesn't seem like a very
complete solution.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713