gcc/fixincludes/tests/base/sys
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
..
_inttypes.h
cdefs.h
feature_tests.h
file.h
int_const.h
int_limits.h
inttypes.h
machine.h
mman.h
pthread.h
signal.h
socket.h
spinlock.h
stat.h
sysmacros.h
time.h
types.h
ucontext.h
wait.h