This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
wrong error for G++ test suite case
- To: egcs-bugs at cygnus dot com
- Subject: wrong error for G++ test suite case
- From: dcb at pncl dot co dot uk (David C Binderman)
- Date: Thu, 28 May 1998 18:50:36 +0100 (BST)
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++