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.

Ben.

-- 
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to