This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: RFA: v3 PATCH to libsupc++/exception_ptr.h for C++0x support
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 23 May 2011 17:02:35 +0200
- Subject: Re: RFA: v3 PATCH to libsupc++/exception_ptr.h for C++0x support
- References: <4DDA730D.1040602@redhat.com>
On 05/23/2011 04:45 PM, Jason Merrill wrote:
While looking at c++/47263 I noticed that eh_ptr.cc doesn't compile in
C++0x mode because __safe_bool isn't defined, but is used. Is this
the way you'd like to fix that?
Jason, the change by itself seems indeed ok, but really I don't think we
should tell the people that building all the *.cc files with either
c++03 or c++0x is ok, because we have subtle ABI issues here, in the
exports. Thus, if the abi test passes (in both modes), I have no
objections of course, but I still think we should not consider the tweak
as telling to Vincenzo (in libstdc++/48811): go ahead, build all the
*.cc with whatever -std= you want and everything will work fine.
Paolo.