Fix for PR libstdc++/51142 causes incompatibility when mixing C++98 and C++11 code with gcc-4.6.3 and later

Paolo Carlini paolo.carlini@oracle.com
Mon Sep 17 09:15:00 GMT 2012


Nicolas Roeser <nicolas.roeser@uni-ulm.de> ha scritto:

>Hello!
>
>We found that the fix for PR 51142
><URL:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51142>,

That fix just added an overload, C++11 return type was already different.

>Is linking together several object files compiled with different C++
>versions not supported?

It isn't, and in any case we can't certainly break C++11 now (neither C++98)

Paolo




More information about the Libstdc++ mailing list