gcc/fixincludes/tests/base
David Edelsohn 081b3517b4 aix: Fix _STDC_FORMAT_MACROS in inttypes.h [PR97044]
AIX protects the STDC Format Macros in a manner that can prevent the
definition of the macros depending on the order of header inclusion.

The protection of the macros was referenced in C99, removed in C11, and
never specified in any C++ standard. Also, the macros are in the namespace
reserved to the implementation (compiler) so the compiler is permitted to
choose to inject those names.

fixincludes/ChangeLog:

2020-09-17  David Edelsohn  <dje.gcc@gmail.com>

	PR target/97044
	* inclhack.def (aix_inttypes): New fix.
	* fixincl.x: Regenerate.
	* tests/base/sys/inttypes.h: New file.
2020-09-26 15:59:24 +00:00
..
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 aix: Fix _STDC_FORMAT_MACROS in inttypes.h [PR97044] 2020-09-26 15:59:24 +00:00
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