This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

wrong error for G++ test suite case



Hello there,

In the C++ test suite provided in egcs, file g++.old-deja/g++.bob/inherit1.C,
gets the following compilation answer from egcs-980525

./g++.old-deja/g++.bob/inherit1.C: In method `char * B::m1()':
./g++.old-deja/g++.bob/inherit1.C:14: Error: cannot call member function
	`A::m1()' without object

I have had a look at the code, and think it is ok.

This makes me think egcs-980525 is wrong to produce the above error message.

Regards
David Binderman MSc BSc    +44 1293 534 847       dcb_AVOID_JUNK_MAIL@pncl.co.uk
There is no substitute for skill, taste and experience when programming
 - Dr Stroustrup, inventor of C++



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]