Closed gdams closed 6 years ago
Related: http://lammps.sandia.gov/threads/msg18980.html
On Fri, 2011-03-11 at 15:43 +0100, pim schravendijk wrote:
{schraven}\:/usr/include>grep PRId64 * inttypes.h:#define PRId64 "ld" inttypes.h:#define PRId64 "lld"
great so there is hope.
all we need to know now is which #define is needed to get the compiler to include the proper one of those defines.
on glibc/gcc this is wrapped in
/ The ISO C99 standard specifies that these macros must only be defined if explicitly requested. /
if !defined cplusplus || defined STDC_FORMAT_MACROS
on AIX it may be something like -D_ANSI_SOURCE or -D_STDC_SOURCE or -D_AIX_SOURCE
cheers, axel.
I get the following error when installing ref on AIX: