This is the mail archive of the
mailing list for the GCC project.
Re: C++ ABI Issues
- From: Joe Buck <Joe dot Buck at synopsys dot com>
- To: gdr at integrable-solutions dot net (Gabriel Dos Reis)
- Cc: Joe dot Buck at synopsys dot COM (Joe Buck), phil at jaj dot com (Phil Edwards),mark at codesourcery dot com (Mark Mitchell), gcc at gcc dot gnu dot org
- Date: Tue, 27 Aug 2002 14:50:45 -0700 (PDT)
- Subject: Re: C++ ABI Issues
> | It seems that even if it does, we can preserve libstdc++'s binary
> | compatibility by adding a dummy field that exactly fills up any padding.
> Isn't this the compiler should be doing (with appropriate flags if
> necessary)? It certainly does know where to fill things. I would
> certainly prefer that to clutering V3 with pad0, pad1, ...
How could we do that? We'd have to either tell the compiler somehow which
classes to compile in the old way and which classes to compile in the new
way, or else use the 3.2 ABI for everything, forever.
In practice, we may be lucky and not need to do anything at all. Let's
reopen this one when we have some data.