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 [Darwin, fixincludes] Fix Darwin9/10 math.h issues. 2019-06-21 19:18:18 +00:00
bits
bsd
dispatch [Darwin, fixincludes] Fix Darwin14 header issues. 2019-06-21 19:03:45 +00:00
hsfs
i386 re PR bootstrap/72833 (error in fortran/parse.c (unexpected_eof) on Mac OS X 10.7) 2016-08-09 17:58:00 +00:00
ia64/sys
iso Only declare gets for C++ < 2014 on Solaris (PR libstdc++/78979) 2017-01-13 12:09:13 +00:00
linux
mach-o
net
netdnet
netinet
os [Darwin, fixincludes] Fix PR83531 2019-08-18 18:54:13 +00:00
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 alloca.h: New file. 2017-02-11 21:11:44 +00:00
assert.h
AvailabilityInternal.h Fix libsanitizer build on OS X 10.1[01], macOS 10.12 (PR sanitizer/78267) 2016-11-20 10:49:47 +00:00
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 Fix missing SCNuMAX defines in inttypes.h on hpux11.[01]* 2020-01-25 12:20:24 -05:00
io-quotes-def-1.h
ioLib.h fixincludes: Add missing hunk to tests/base/ioLib.h 2018-06-27 07:59:23 +00:00
locale.h
malloc.h
math.h Don't define libstdc++-internal macros in Solaris 10+ <math.h> 2016-11-21 16:09:47 +00:00
obstack.h
pthread.h
reg_types.h
regex.h
regexp.h
setjmp.h inclhack.def (hpux_longjmp): New fix. 2016-08-13 18:08:15 +00:00
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 Only declare gets for C++ < 2014 on Solaris (PR libstdc++/78979) 2017-01-13 12:09:13 +00:00
stdlib.h inclhack.def (aix_stdlib_vec_malloc): New. 2018-02-22 11:12:26 -05:00
string.h
strings.h
sym.h
testing.h
tgmath.h
time.h
tinfo.h
unistd.h inclhack.def (aix_unistd): New. 2018-07-23 16:51:50 -04:00