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