https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97044

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Edelsohn <d...@gcc.gnu.org>:

https://gcc.gnu.org/g:081b3517b4df826ac917147eb906bbb8fc6528b1

commit r11-3482-g081b3517b4df826ac917147eb906bbb8fc6528b1
Author: David Edelsohn <dje....@gmail.com>
Date:   Thu Sep 17 15:18:48 2020 +0000

    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....@gmail.com>

            PR target/97044
            * inclhack.def (aix_inttypes): New fix.
            * fixincl.x: Regenerate.
            * tests/base/sys/inttypes.h: New file.

Reply via email to