This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]