On Thursday 08 February 2007 10:40:34 am [EMAIL PROTECTED] wrote: > Author: schmitt > Date: Thu Feb 8 11:40:33 2007 > New Revision: 17106 > > URL: http://www.lyx.org/trac/changeset/17106 > Log: > * src/LaTeXFeatures.h: isAvailable() becomes a static method > > Modified: > lyx-devel/trunk/src/LaTeXFeatures.h > > Modified: lyx-devel/trunk/src/LaTeXFeatures.h > URL: > http://www.lyx.org/trac/file/lyx-devel/trunk/src/LaTeXFeatures.h?rev=17106 > =========================================================================== >=== --- lyx-devel/trunk/src/LaTeXFeatures.h (original) > +++ lyx-devel/trunk/src/LaTeXFeatures.h Thu Feb 8 11:40:33 2007 > @@ -71,10 +71,10 @@ > void require(std::string const & name); > /// Which of the required packages are installed? > static void getAvailable(); > + /// Is the (required) package available? > + static bool isAvailable(std::string const & name); > /// Is the package required? > bool isRequired(std::string const & name) const; > - /// Is the (required) package available? > - bool isAvailable(std::string const & name) const; > /// > void useFloat(std::string const & name); > /// > > > _______________________________________________ > Cvslog mailing list > [EMAIL PROTECTED] > http://www.lyx.org/mailman/listinfo/cvslog
make[3]: Entering directory `/home/jamatos/lyx/lyx-devel/src' if g++ -DHAVE_CONFIG_H -I. -I. -I. -I../boost -Wextra -Wall -g -O -MT LaTeXFeatures.o -MD -MP -MF ".deps/LaTeXFeatures.Tpo" -c -o LaTeXFeatures.o LaTeXFeatures.C; \ then mv -f ".deps/LaTeXFeatures.Tpo" ".deps/LaTeXFeatures.Po"; else rm -f ".deps/LaTeXFeatures.Tpo"; exit 1; fi LaTeXFeatures.C:155: error: static member function ‘bool lyx::LaTeXFeatures::isAvailable(const std::string&) const’ declared with type qualifiers make[3]: *** [LaTeXFeatures.o] Error 1 -- José Abílio