wrong error for G++ test suite case

David C Binderman dcb@pncl.co.uk
Thu May 28 11:23:00 GMT 1998


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++




More information about the Gcc-bugs mailing list