[bt-devel] error

Troy A. Griffitts bt-devel@crosswire.org
Mon, 23 Oct 2000 16:15:26 -0700


> I need acces to the function VerseKey::parse()

Joachim,
	Why do you think you need access to 'parse'?  I didn't indent for
anyone to need this function.  Maybe there is a better alternative you
can call instead.  I could make a suggestion if I knew why you need to
call this?

	-Troy.



> I changed private: to protcted: to not mess up the file completely. But
> obviously this was wrong. Should I revert it and only make parse() protected??
> Or what do you suggest?
> 
> --Joachim
> 
> > Joachim,
> >       It is not a good idea to make this protected.  These members will not
> > stay the same.  They are implementation specific.  What are you needing
> > in them and I will help you find a better alternative?
> >
> >       -Troy.
> >
> > Joachim Ansorg wrote:
> > > Hi!
> > >
> > > Update your Sword again. I had to change private to protected in
> > > versekey.h so we can compile.
> > >
> > > --Joachim
> > >
> > > > another problem:
> > > >
> > > > cswordversekey.cpp:114: warning: unused parameter `class CSwordVerseKey
> > > > * key' cswordversekey.cpp: In method `class CSwordVerseKey &
> > > > CSwordVerseKey::operator =(const char *)':
> > > > /usr/include/sword/versekey.h:99: `char VerseKey::parse()' is private
> > > > cswordversekey.cpp:167: within this context
> > > > make[4]: *** [cswordversekey.lo] Error 1
> > > >
> > > > Martin