Hello, thanks for the patch. Fixed in 2.5.37.
Jirka Hanika On Tue, Mar 21, 2006 at 06:11:13AM +0000, Martin Michlmayr wrote: > Package: epos > Version: 1:2.5.36-5 > Severity: important > Tags: patch > > Your package fails to build with G++ 4.1. I'm filing this bug as > important for now, but when 4.1 will be the default compiler in > unstable (probably in a few weeks) I'll upgrade this to serious. > > A patch is attached. > > > > Automatic build of epos_1:2.5.36-5 on bigsur by sbuild/mips 1.106 > ... > > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -w -DEPOS -ggdb > > -DBASE_DIR=/usr/share/epos -g -O2 -MT enumstring.lo -MD -MP -MF > > .deps/enumstring.Tpo -c enumstring.cc -fPIC -DPIC -o .libs/enumstring.lo > > xml.h:42: error: extra qualification 'CXml::' on member 'print' > > make[4]: *** [enumstring.lo] Error 1 > > make[4]: Leaving directory `/build/tbm/epos-2.5.36/src/nnet' > > > --- ./src/nnet/xml.h~ 2006-03-21 06:06:17.000000000 +0000 > +++ ./src/nnet/xml.h 2006-03-21 06:06:24.000000000 +0000 > @@ -39,7 +39,7 @@ > ~CXml(); > > operator CString () const; > - CString CXml::print (const CString &indent) const; > + CString print (const CString &indent) const; > > void SetSubtype(Xmlsubtype n) { subt = n; } > Xmlsubtype GetSubtype() { return subt; } > --- ./src/nnet/traindata.h~ 2006-03-21 06:07:08.000000000 +0000 > +++ ./src/nnet/traindata.h 2006-03-21 06:07:13.000000000 +0000 > @@ -195,7 +195,7 @@ > bool moveToRow (CInt row) const; > > /// getSet returns: set of current row or ST_NULL if position not valid > - inline CInt CTrainingData::getSet () const > + inline CInt getSet () const > { if (pos == data.end()) return ST_NULL; else return (*pos).set; } > > /// getInputs returns: inputs on current row > > -- > Martin Michlmayr > http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]