aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/ChangeLog
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-06-21 19:18:18 +0000
committerIain Sandoe <iains@gcc.gnu.org>2019-06-21 19:18:18 +0000
commit5a50aed32ab80022a592091af011f6f0429d269a (patch)
tree5011a01629a2272159f6ed815d00b5c380275230 /fixincludes/ChangeLog
parent59a0b1db756fc17b952c8423b015154a7bd23d10 (diff)
downloadgcc-5a50aed32ab80022a592091af011f6f0429d269a.zip
gcc-5a50aed32ab80022a592091af011f6f0429d269a.tar.gz
gcc-5a50aed32ab80022a592091af011f6f0429d269a.tar.bz2
[Darwin, fixincludes] Fix Darwin9/10 math.h issues.
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. This fixes the tr1 testsuite fails seen on Darwin9 and 10. 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. From-SVN: r272563
Diffstat (limited to 'fixincludes/ChangeLog')
-rw-r--r--fixincludes/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog
index 49135f0..be02029 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/ChangeLog
@@ -1,5 +1,15 @@
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.
+
+2019-06-21 Iain Sandoe <iain@sandoe.co.uk>
+
* inclhack.def: Guard __has_attribute and __has_extension in
os/base.h.
Guard Apple blocks syntax in dispatch/object.h.