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.