Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Paul Vaughan
Wed, 06 Dec 1989 17:45
backward error message
Author: Paul Vaughan
Date: Wed, 06 Dec 1989 17:45
Date: Wed, 06 Dec 1989 17:45
22 lines
898 bytes
898 bytes
The following source
-----------------------
struct base {
void foo() {}
};
struct derived {
void foo() { base::foo(); } // line 6
};
main() {}
-------------------------
gives this error message
errmsg.cc: In method void derived::foo ():
errmsg.cc:6: type `base' not derived from type `derived'
So who cares? What is more important is that type derived is not
derived from type base. It wouldn't help if type base were derived
from type derived.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads