5a50aed32a
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 |
||
---|---|---|
.. | ||
ansi | ||
arch/i960 | ||
architecture/ppc | ||
bits | ||
bsd | ||
dispatch | ||
hsfs | ||
i386 | ||
ia64/sys | ||
iso | ||
linux | ||
mach-o | ||
net | ||
netdnet | ||
netinet | ||
os | ||
pixrect | ||
rpc | ||
rpcsvc | ||
rtldef | ||
sparc | ||
sundev | ||
sunwindow | ||
sys | ||
types | ||
X11 | ||
Xm | ||
alloca.h | ||
assert.h | ||
AvailabilityInternal.h | ||
AvailabilityMacros.h | ||
c_asm.h | ||
com_err.h | ||
complex.h | ||
ctrl-quotes-def-1.h | ||
ctype.h | ||
curses.h | ||
errno.h | ||
fcntl.h | ||
features.h | ||
fixinc-test-limits.h | ||
inttypes.h | ||
io-quotes-def-1.h | ||
ioLib.h | ||
locale.h | ||
malloc.h | ||
math.h | ||
obstack.h | ||
pthread.h | ||
reg_types.h | ||
regex.h | ||
regexp.h | ||
setjmp.h | ||
signal.h | ||
spawn.h | ||
stdarg.h | ||
stdint-aix.h | ||
stdint-darwin.h | ||
stdint-hpux11.h | ||
stdint-newlib.h | ||
stdint.h | ||
stdio_tag.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
strings.h | ||
sym.h | ||
testing.h | ||
tgmath.h | ||
time.h | ||
tinfo.h | ||
unistd.h |