This is the mail archive of the gcc-patches@gcc.gnu.org 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] |
Jason Merrill <jason@redhat.com> writes:Indeed. Given the very simple nature of the testcase, I think something like the below can do, at least for 4.8.0, if Jason has no objections. Can you double check it on Solaris and in case commit it?
The test fails on Solaris 9: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.
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.
Thanks, Paolo.
Attachment:
patchlet
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |