This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++98/C++11 ABI compatibility for gcc-4.7
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