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

Paolo Carlini paolo.carlini@oracle.com
Mon Jun 18 16:23:00 GMT 2012


Hi,

On 06/18/2012 06:01 PM, Michael Matz wrote:
> Hi,
>
> On Mon, 18 Jun 2012, Gabriel Dos Reis wrote:
>
>> Jeff, please note that the path that Michael took from what was said
>> ealier (in particular the quote he provided in his message) and the
>> conclusion of "enthusiasm for soname bump" is still a mystery.
> The quoted part suggested switching std::string to the new format for
> c++11 only, on which I read three agreeing answers (one of them
> enthusiastic).
Uhmm, actually now I agree that switching to the new std::string for 
C++11 only would be very tricky to do, for the usual reasons (it's used 
also by <locale>, etc). For C++11, the last week I may have envisaged 
switching only the <string> internals, without changing the exports, but 
then it would not be able to interoperate with <locale>, thus it would 
not lead to a consistent C++11 library. I suppose that for 4.8.0 we 
really want to bump the ABI, for many other reasons too, and be done 
with it.

Paolo.



More information about the Libstdc++ mailing list