This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: RFA: v3 PATCH to add on_quick_exit/quick_exit to std
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 14 Feb 2013 16:45:59 +0100
- Subject: Re: RFA: v3 PATCH to add on_quick_exit/quick_exit to std
- References: <51192B59.4000305@redhat.com>
Jason Merrill <jason@redhat.com> writes:
> While I was going over the C++11 status page, I noticed that quick_exit is
> implemented by glibc, it just needed to be added to the libstdc++ cstdlib
> header.
The test fails on Solaris 9:
FAIL: 18_support/quick_exit/quick_exit.cc (test for excess errors)
Excess errors:
/vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/18_support/quick_exit/quick_e
xit.cc:28:3: error: '_Exit' is not a member of 'std'
WARNING: 18_support/quick_exit/quick_exit.cc compilation failed to produce execu
table
extra_tool_flags are:
-std=gnu++11
_Exit seems to be a C99 addition, only present since Solaris 10.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University