Re: Tiny patch to build abiword-0.9.2 with gcc-3.0 on Linux


Subject: Re: Tiny patch to build abiword-0.9.2 with gcc-3.0 on Linux
From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Thu Aug 16 2001 - 12:05:06 CDT


According to Phil Stracchino <alaric@babcom.com>:
> --- abi/src/af/util/xp/ut_iconv.cpp.orig Thu Aug 16 01:10:46 2001
> +++ abi/src/af/util/xp/ut_iconv.cpp Thu Aug 16 01:10:42 2001
> @@ -137,7 +137,8 @@
> size_t UT_iconv( UT_iconv_t cd, const char **inbuf,
> size_t *inbytesleft, char **outbuf, size_t *outbytesleft )
> {
> - return iconv( cd, const_cast<ICONV_CONST char **>(inbuf),
> + const char **mybuf = inbuf;
> + return iconv( cd, mybuf,
> inbytesleft, outbuf, outbytesleft );
> }

No. I won't apply this one as the ICONV_CONST is a trick to overcome
implementation variation accross the different iconv found in various
systems...
Applying your patch means breaking that.

Hub



This archive was generated by hypermail 2b25 : Thu Aug 16 2001 - 12:05:16 CDT