rafter@warwick.UUCP (02/18/87)
/* 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