🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Paul Vaughan Wed, 06 Dec 1989 17:45
backward error message
#685
Author: Paul Vaughan
Date: Wed, 06 Dec 1989 17:45
22 lines
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