Subject: Re: abiword-plugins patches
To: Jeremy C. Reed <email@example.com>
From: Rhialto <firstname.lastname@example.org>
Date: 10/28/2004 02:16:42
On Tue 26 Oct 2004 at 19:53:40 -0700, Jeremy C. Reed wrote:
> I am building under NetBSD 1.6.2_STABLE. And now it fails with:
> AbiCommand.cpp: In method `void AbiCommand::doCommands()':
> AbiCommand.cpp:247: static_cast from `void *' to `const UT_String *'
> AbiCommand.cpp: In method `void AbiCommand::clearTokenVector(UT_Vector
> AbiCommand.cpp:403: static_cast from `void *' to `const UT_String *'
> AbiCommand.cpp: In method `bool AbiCommand::replaceNext(UT_Vector *)':
> AbiCommand.cpp:934: static_cast from `void *' to `const UT_String *'
> gmake: *** [AbiCommand.lo] Error 1
> gmake: Leaving directory
> (This is gcc 2.95.3.)
There are some patches (from me) that change casts in the source of
AbiWord that gcc complains about. Although all of those were about
eliminating reinterpret_casts. It seems similar patches are needed
 I suppose those casts were written as they were to increase
portability but in practice they did the opposite.
> Jeremy C. Reed
-- Ceterum censeo "authored" delendum esse.
___ Olaf 'Rhialto' Seibert --  Ugly English neologism.
\X/ rhialto/at/xs4all.nl --  For lawyers whose English/Latin is below par.