Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!seismo!mcvax!ukc!warwick!rafter From: rafter@warwick.UUCP Newsgroups: comp.lang.c++ Subject: bug in C++ 1.1 Message-ID: <494@ubu.warwick.UUCP> Date: Wed, 18-Feb-87 14:27:27 EST Article-I.D.: ubu.494 Posted: Wed Feb 18 14:27:27 1987 Date-Received: Fri, 20-Feb-87 07:41:02 EST Reply-To: rafter@warwick.UUCP (Mark Rafter) Organization: Computer Science, Warwick University, UK Lines: 24 /* Bug in C++ release 1.1 on VAX 4.1 BSD The following example is a little contrived but the bug shows up naturally when dealing with type hierachies of depth two or more. The message from the compiler is: CC foo.c: "foo.c", line 19: error: Oops!, error while handling error 1 error */ class base { public: void pri(); }; class derived: base { public: base::pri; }; main() { derived d; d.pri(); /* this is fine */ d.derived::pri(); /* this line causes the message */ } -- ---------------------------------- Mark Rafter, Computer Science, Warwick Univ, Coventry CV4 7AL, ENGLAND ..!ukc!warwick!rafter +44 203 523364