On Mon, 1 Jun 2009, Tobias Schlüter wrote: > The complaint is about: > ICONV_CONST char *inbuf = CONST_CAST (char *, ident); > [...snip...] > iconv_ret = iconv (cd, &inbuf, &inbytesleft, > &outbuf, &outbytesleft); The types are exactly the same as in the corresponding code in libcpp/charset.c. ICONV_CONST char *inbuf; iconv (cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); You'll need to work out what's different on your system between gcc and libcpp to make it work in one place only. Note that iconv.m4 comes from gettext; it's possible the configure support has since been refined upstream and should be updated. -- Joseph S. Myers joseph@codesourcery.com