This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]