Re: Still unbuildable on Windows


Subject: Re: Still unbuildable on Windows
From: Sam TH (sam@uchicago.edu)
Date: Fri Apr 13 2001 - 06:06:31 CDT


On Fri, Apr 13, 2001 at 08:52:31PM +1000, Andrew Dunbar wrote:
> > On Fri, Apr 13, 2001 at 08:40:38PM +1000, Andrew Dunbar wrote:
> No, in fact the arguments to checkWord, suggestWord, and
> requestDictionary
> as in these error lines from the compiler:
>
> 'checkWord' : overloaded member function
> 'enum SpellChecker::_SpellCheckResult (unsigned short *,unsigned int)'
> not found in 'ISpellChecker'
>
> 'suggestWord' : overloaded member function
> 'class UT_Vector *(unsigned short *,unsigned int)'
> not found in 'ISpellChecker'
>
> 'requestDictionary' : overloaded member function
> 'bool (char *)'
> not found in 'ISpellChecker'
>
> All 3 of these functions are declared and define with their first
> argument being a const pointer but for some reason the compiler
> thinks we are attempting to call members with non-const first
> arguments.
>

What happens if you explicitly cast the arguments to (const char *),
or whatever?
           
sam th --- sam@uchicago.edu --- http://www.abisource.com/~sam/
OpenPGP Key: CABD33FC --- http://samth.dyndns.org/key
DeCSS: http://samth.dyndns.org/decss




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