This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/32868] Don't warn about redefinitions of __STDC_FORMAT_MACROS
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2007 14:29:20 -0000
- Subject: [Bug preprocessor/32868] Don't warn about redefinitions of __STDC_FORMAT_MACROS
- References: <bug-32868-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from ian at airs dot com 2007-11-28 14:29 -------
The C99 standard specifically calls out __STDC_FORMAT_MACROS as a macro which
may be defined before including <inttypes.h>. Therefore, I believe that
warning about this definition is a bug for both C and C++.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32868