RFA: v3 PATCH to add on_quick_exit/quick_exit to std

Paolo Carlini paolo.carlini@oracle.com
Tue Feb 12 12:56:00 GMT 2013


On 02/12/2013 01:47 PM, dominiq@lps.ens.fr wrote:
>> But the last time I checked, modern darwin defined
>> _GLIBCXX_USE_C99_MATH_TR1, no problems.
> AFAICT this is true, but I think darwin10 was released in 2011
> so I doubt it has any support for c++11.
>
>> Anyway, about the cstdlib issue the below makes available the new
>> functions in c_std/cstdlib too, and I'm going to commit it, it's close
>> to what Jason originally committed. ...
> It works, thanks,
Good, thus looks like you are using c_std on your machine?!? Because I 
just tried, and on a Darwin 12.2.0 machine the build uses c_global by 
default and everything was fine even before my last patchlet 
(_GLIBCXX_USE_C99_MATH_TR1 defined of course).

I think current Darwin is already fine, in general, in these areas.

Again, the current status is in a sense good because when the
_GLIBCXX_HAVE_AT_QUICK_EXIT and _GLIBCXX_HAVE_QUICK_EXIT are defined, 
thus the system has the functions in its c library, including <cstdlib> 
makes available the functions in namespace std irrespective of the 
configury. But then why having c_std in the first place? I'll leave this 
to Benjamin...

Paolo.



More information about the Gcc-patches mailing list