(Illustration by Gaich Muramatsu)
Jan Harkes writes: > On Tue, Mar 28, 2006 at 01:56:20PM -0600, Jerry Amundson wrote: >> Using Fedora Core 5 and gcc-c++-4.1.0-3 - looks like a gcc4 quirk, but >> thought I'd pass it along... > > I don't think it is a quirk, there is no reason to qualify them, since > they are declared as class members. It is clearly useless to declare the > class member functions as, > > class fsobj { int fsobj::foo(); }; > > since we already know what class the member belongs to. > > And it would probably be invalid to have the following code, which > tries to declare it as a member of a different class, > > class fsobj { int bar::foo(); }; > > Jan Alright, I can handle those easily enough, but not this one... g++ -fno-exceptions -fcheck-new -Wall -MD -DHAVE_CONFIG_H -I. -I/home/jerry/rpm/BUILD/coda-6.0.14/coda-src/venus -I/home/jerry/rpm/BUILD/obj-6.0.14/include -I/home/jerry/rpm/BUILD/obj-6.0.14 -g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o vsg.o /home/jerry/rpm/BUILD/coda-6.0.14/coda-src/venus/vsg.cc /home/jerry/rpm/BUILD/coda-6.0.14/coda-src/venus/vsg.cc: In member function ‘int vsgent::GetMgrp(mgrpent**, uid_t, int)’: /home/jerry/rpm/BUILD/coda-6.0.14/coda-src/venus/vsg.cc:105: error: ‘Mgrp_Wait’ was not declared in this scope make: *** [vsg.o] Error 1Received on 2006-03-29 00:23:01