This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Fix for PR libstdc++/51142 causes incompatibility when mixing C++98 and C++11 code with gcc-4.6.3 and later
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Nicolas Roeser <nicolas dot roeser at uni-ulm dot de>, libstdc++ at gcc dot gnu dot org
- Cc: arno dot luppold at uni-ulm dot de
- Date: Mon, 17 Sep 2012 11:14:34 +0200
- Subject: Re: Fix for PR libstdc++/51142 causes incompatibility when mixing C++98 and C++11 code with gcc-4.6.3 and later
- References: <5056D36C.5040403@uni-ulm.de>
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