C++98/C++11 ABI compatibility for gcc-4.7

Gabriel Paubert paubert@iram.es
Fri Jun 15 21:23:00 GMT 2012


On Fri, Jun 15, 2012 at 10:52:27PM +0200, Paolo Carlini wrote:
> Hi,
> 
> > On Fri, Jun 15, 2012 at 3:12 PM, James Y Knight <foom@fuhm.net> wrote:
> > 
> >> IMO, at the /very least/, libstdc++ should go ahead and change std::string
> >> to be the new implementation. Once std::string is ABI-incompatible between
> >> the modes, there's basically no chance that anyone would think that
> >> linking things together from the two modes is a good thing to try, for
> >> more than a couple minutes.
> >> 
> > 
> > Agreed.
> 
> Seconded. I find the idea simple but cute.

I strongly agree.

> 
> Paolo
> 
> > 
> 
> Ps: I'm not volunteering to do the actual work ;) kidding, sooner or later have to do it anyway. Just not right *now*. I could do it in a couple of weeks, definitely in time for 4.8.

Does this basically mean that compiling C++ code with GCC4.7 will be playing Russian roulette?

	Gabriel




More information about the Gcc mailing list