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: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Thu Aug 16 2001 - 04:06:03 CDT


On Thu, 16 Aug 2001, Phil Stracchino wrote:
> Abiword-0.9.2 fails to compile with gcc-3.0 on a Slackware 7.0 Linux
> machine, due to one failed cast and one inconsistent multiple definition.
>
> The following patch (also attached) fixes both problems and yields a
> working 0.9 2 binary. And, kudos, guys -- it's *fast*. :)

> - return iconv( cd, const_cast<ICONV_CONST char **>(inbuf),

This ought to work, but I have a suspicion gcc-3.0 doesn't like casts that
aren't (i.e. const char ** -> const char **)

> +#if !defined(_STRING_H)
> int strcasecmp (const char *s1, const char *s2);
> +#endif

I think this need to be taken out of wv.h and put at the tail end of
config.h.in

I'll take a look,
Frank

Francis James Franklin
F.J.Franklin@shef.ac.uk

`people who are strangers to liquor are incapable of talking about literature.'
Those refreshing words filled my head with the clarified butter of great
wisdom, removed all obstacles to understanding. Truly it was a case of:
`Open the gates of the throat and pour down a bucket of Maotai.' --- Mo Yan



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