This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5
- From: "ro at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2009 18:08:59 -0000
- Subject: [Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5
- References: <bug-41996-279@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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