[bt-devel] error

Joachim Ansorg bt-devel@crosswire.org
Mon, 23 Oct 2000 23:49:56 +0000


Hi Troy!

I need acces to the function VerseKey::parse() 
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