Hi On Sun, Mar 12, 2006 at 12:55:17AM +0000, Martin Michlmayr wrote: > Package: xclass > Version: 0.8.3-1.3 > 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 below.
What is the problem with the below statement? Are you no longer allowed to call classname::function inside the classname itself? Regards, // Ola > > > Automatic build of xclass_0.8.3-1.3 on bigsur by sbuild/mips 1.86 > ... > > c++ -I../../include -DOX_DEFAULT_POOL=\"/usr/share/xclass/icons\" > > -DOX_DEFAULT_ROOT=\"\" -O2 -fPIC -c OXListTree.cc > > ../../include/xclass/OXListTree.h:143: error: extra qualification > > 'OXListTree::' on member '_FindItem' > > make[3]: *** [OXListTree.o] Error 1 > > > --- ./include/xclass/OXListTree.h~ 2006-03-12 00:52:59.000000000 +0000 > +++ ./include/xclass/OXListTree.h 2006-03-12 00:53:03.000000000 +0000 > @@ -140,7 +140,7 @@ > void _InsertChildren(OListTreeItem *parent, OListTreeItem *item); > int _SearchChildren(OListTreeItem *item, int y, int findy, > OListTreeItem **finditem); > - OListTreeItem *OXListTree::_FindItem(int findy); > + OListTreeItem *_FindItem(int findy); > > OListTreeItem *_first, *_selected; > int _hspacing, _vspacing, _indent, _margin, _last_y; > > -- > Martin Michlmayr > http://www.cyrius.com/ > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]