Hi On Sun, Mar 12, 2006 at 09:00:37PM +0000, Ben Hutchings wrote: > Martin Michlmayr wrote: > > * Ola Lundqvist <[EMAIL PROTECTED]> [2006-03-12 20:42]: > > > > > 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' > > > > > What is the problem with the below statement? Are you no longer allowed > > > to call classname::function inside the classname itself? > > > > No. Sorry, I cannot give you a reason, but I'm sure it's G++ just > > becoming more standards compliant. > > It has never been valid to use qualified names in member declarations in > class definitions; g++ just had a lax parser in the past. See > <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16782> for the reasons > behind the change.
Ahh! Now I realize that it is not function calls but function definitions. Then it should of course be changed. Regards, // Ola > Ben. > > -- > Ben Hutchings > Teamwork is essential - it allows you to blame someone else. -- --------------------- 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]

