This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34859] g++ -D__STDC_LIMIT_MACROS -D__STDC_LIMIT_MACROS causes error
- From: "peeterj at ca dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2008 05:19:49 -0000
- Subject: [Bug c++/34859] g++ -D__STDC_LIMIT_MACROS -D__STDC_LIMIT_MACROS causes error
- References: <bug-34859-12838@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from peeterj at ca dot ibm dot com 2008-01-19 05:19 -------
My snapshot already has that fix. That one was only for __STDC_FORMAT_MACROS
which is for <inttypes.h>. There's two more such macros for stdint.h
(__STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS) to access various bits of that
file. I privately made the same sort of change to macro.c and directive.c for
all three and it handled the issue ... however, given that other bug report it
sounds like just the macro.c part of that change would be sufficient.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34859