This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: v3 PATCH to add on_quick_exit/quick_exit to std

On 02/12/2013 01:47 PM, 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...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]