On Tuesday 16 April 2002 1:26 pm, Edwin Leuven wrote: > > All works very well here, but I'd like some volunteer testers please. No > > testers, no apply... > > applied patch but compile breaks down...
I think that this is saying that Buffer::getBibkeyList() is non-const so a Buffer const * can't access it. You should "cvs update" because in current cvs Buffer::getBibkeyList() is const. Angus > g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost > -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c insetcite.C > -MT insetcite.lo -MD -MP -MF .deps/insetcite.TPlo > In file included from ../../src/Lsstream.h:20, > from ../../src/support/lstrings.h:24, > from insetcite.C:28: > /usr/include/g++-3/sstream: In method `int stringbuf::sync ()': > /usr/include/g++-3/sstream:171: warning: comparison between signed and > unsigned integer expressions > insetcite.C: In function `const string {unnamed}::getNatbibLabel (const > Buffer *, const string &, const string &, const string &, const string > &, bool)': > insetcite.C:65: passing `const Buffer' as `this' argument of `const > vector<pair<string, string>, allocator<pair<string, string> > > > Buffer::getBibkeyList ()' discards qualifiers > make[3]: *** [insetcite.lo] Error 1 > make[3]: Leaving directory `/home/leuven/cvs/lyx-devel/src/insets' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/leuven/cvs/lyx-devel/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/leuven/cvs/lyx-devel/