RFA: v3 PATCH to add on_quick_exit/quick_exit to std

Jason Merrill jason@redhat.com
Wed Feb 13 14:38:00 GMT 2013


On 02/12/2013 07:55 AM, Paolo Carlini wrote:
> 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...

As I understand it, the difference between c_std and c_global is 
supposed to be that c_std keeps the C library in std, whereas c_global 
has it in both std and the global namespace.  All the other differences 
that have arisen between them seem unintended and wrong.

There is, however, a question whether we need c_std at all now that the 
standard allows the C library to be in the global namespace as well.

Jason



More information about the Libstdc++ mailing list