Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!MCC.COM!vaughan%cadillac.cad.mcc.com From: vaughan%cadillac.cad.mcc.com@MCC.COM (Paul Vaughan) Newsgroups: gnu.g++.bug Subject: backward error message Message-ID: <8912061745.AA12598@puma.cad.mcc.com> Date: 6 Dec 89 17:45:11 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 22 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.