Date: Tue, 11 Jul 2000 19:12:19 +0200 (MET DST) From: Gisle Vanem To: djgpp AT delorie DOT com Subject: C++ error Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com I'm trying to build "Turbo Vision Development Toolkit" by Blaise using latest (?) Turbo Vision 1.0.10 and gcc 2.95.2. All is well except one file. The problem is in this class definition: class sLabel : public TLabel { public: TView *getLink() { return (link); } void setLink (TView *aLink) { link = aLink; } }; // <- line 103 gcc gives this error: bshoehor.cpp:103: base `TLabel' with only non-default constructor bshoehor.cpp:103: in class without a constructor AFAICS, the 'sLabel' class is only present to allow access to protected data members in the 'TLabel' class. How can this be accomplished in another way? Since I'm not an C++ expert I hope some TurboVision/C++ guru could help. Are you there SET? Gisle V.