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