Re: Still unbuildable on Windows


Subject: Re: Still unbuildable on Windows
From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Fri Apr 13 2001 - 05:40:38 CDT


Sam TH wrote:
>
> On Fri, Apr 13, 2001 at 08:21:13PM +1000, Andrew Dunbar wrote:
> > Is anyone else building for Windows? I'm still unable to build with
> > the new spellchecking code. It looks like a compiler bug but so far
> > I'm unable to reproduce the bug in a standalone example to submit to
> > MS.
> >
> > Can anybody verify that MSVC6 won't build AbiWord or better yet
> > provide a fix.
> >
> > Sorry to be a pain but I can't seem to fix this one myself. Here is
> > the output:
> >
> > make ABI_ROOT=/home/administrator/abiword/abi -C spell build
> > make[3]: Entering directory
> > `/home/administrator/abiword/abi/src/other/spell'
> > Building with [LicensedTrademarks:Off Debug:On BiDi:Off Pspell:Off
> > Scripting:Off].
> > ispell_checker.cpp
> > ispell_checker.cpp(139) : error C2511: 'checkWord' : overloaded member
> > function 'enum SpellChecker::_SpellCheckResult (u
> > nsigned short *,unsigned int)' not found in 'ISpellChecker'
> > ispell_checker.h(6) : see declaration of 'ISpellChecker'
>
> I don't understand this at all. Is it saying that checkWord isn't
> declared in ISpellChecker? That's just wrong.

It seems to believe the pointer arguments are not declared const.
In fact if you remove the const keyword it does compile. This
makes no sense and indeed it doesn't link.

> One thing you could try would be to remove the virtual's in
> ispell_checker.h. I suggest that only since those are the functions
> it complains about.

I'll try that now and report my progress.

Andrew.

-- 
http://linguaphile.sourceforge.net

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




This archive was generated by hypermail 2b25 : Fri Apr 13 2001 - 05:39:01 CDT