r274900 - in /branches/gcc-8-branch/fixincludes...
iains@gcc.gnu.org
iains@gcc.gnu.org
Sat Aug 24 14:51:00 GMT 2019
Author: iains
Date: Sat Aug 24 14:51:26 2019
New Revision: 274900
URL: https://gcc.gnu.org/viewcvs?rev=274900&root=gcc&view=rev
Log:
[Darwin, fixincludes] Backport fix for Darwin9/10 TR1 test fails.
Darwin has had long long functions for some considerable time and these are
exposed in Darwin8 and Darwin11+ headers. However, for some reason it was
elected to hide them behind __STRICT_ANSI__ and __STDC_VERSION__ on Darwin9
and Darwin10. This is a problem for G++/libstdc++ that expects the functions
to be available for strict ansi (-std=c++14, for example) and without
defining __STDC_VERSION__. The fix here follows the pattern used in
Darwin11+ headers where the functions may be explicitly hidden by defining
__DARWIN_NO_LONG_LONG.
2019-08-24 Iain Sandoe <iain@sandoe.co.uk>
Backport from mainline.
2019-06-21 Iain Sandoe <iain@sandoe.co.uk>
* inclhack.def: Replace the complex test using __STRICT_ANSI__ and
__STDC_VERSION__ with a test using __DARWIN_NO_LONG_LONG.
Ensure that the top level math.h uses <> to wrap included headers
rather than "".
* fixincl.x: Regenerated.
* tests/base/architecture/ppc/math.h: Update test to include the
__DARWIN_NO_LONG_LONG case.
Modified:
branches/gcc-8-branch/fixincludes/ChangeLog
branches/gcc-8-branch/fixincludes/fixincl.x
branches/gcc-8-branch/fixincludes/inclhack.def
branches/gcc-8-branch/fixincludes/tests/base/architecture/ppc/math.h
More information about the Gcc-cvs
mailing list