Sam TH wrote:
>
> 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?
Hmm the errors result from trying to define these member functions
and not from trying to call them...
Andrew.
--
http://linguaphile.sourceforge.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com