http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55293
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-13 00:15:19 UTC --- pretty-print.c already does: ICONV_CONST char *inbuf = CONST_CAST (char *, ident); and ICONV_CONST should be set to 'const' by gcc/configure (using the macros from config/iconv.m4) Could configure be finding GNU libiconv, with a correct signature, so ICONV_CONST is empty, but during compilation of pretty-print.c the system iconv.h is found instead, which needs ICONV_CONST?