This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap broken on darwin / fink
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 1 Jun 2009 10:44:40 +0000 (UTC)
- Subject: Re: Bootstrap broken on darwin / fink
- References: <4A23A87C.6080609@physik.uni-muenchen.de>
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