DescriptionAIX: Define __STDC_FORMAT_MACROS in gypi file
Some system header files on AIX include inttypes.h without
defining __STDC_FORMAT_MACROS and therefore the printf format
specifier macro (for eg. PRId64) doesn't get defined as they
are guarded with __STDC_FORMAT_MACROS macro on AIX.
This error showed up recently when the format specifier was used in
wasm-interpreter.cc, where a AIX system header file is included
which also includes inttypes.h without defining __STDC_FORMAT_MACROS.
R=ahaas@chromium.org, titzer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
BUG=
LOG=N
Committed: https://crrev.com/b5a2b4db79ab187cacf229b5b2b3b446ac28bd84
Cr-Commit-Position: refs/heads/master@{#36682}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|