RFA: v3 PATCH to libsupc++/exception_ptr.h for C++0x support

Paolo Carlini paolo.carlini@oracle.com
Mon May 23 15:02:00 GMT 2011


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.



More information about the Libstdc++ mailing list