------- Comment #1 from ro at gcc dot gnu dot org 2009-11-13 18:08 ------- Richard, any preferences on how to fix this? The approach outlined in the report doesn't work since intl/loadmsgcat.c uses this definition of PRId64
# define PRId64 (sizeof (long) == 8 ? "ld" : "lld") which doesn't mix with string concatenation. Obviously just using #if !defined PRId64 || PRI_MACROS_BROKEN # undef PRId64 # define PRId64 "lld" #endif works (if one adds the autoconf test for PRI_MACROS_BROKEN). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41996