Mail Archives: djgpp/2000/07/11/13:12:32
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.
- Raw text -