Mail Archives: djgpp/1997/04/07/14:27:13
Date: | Mon, 07 Apr 1997 10:02:45 -0600
|
From: | tettb AT vitro DOT com
|
Subject: | virtual functions
|
Newsgroups: | comp.os.msdos.djgpp
|
Message-ID: | <860412443.3842@dejanews.com>
|
Organization: | Deja News Usenet Posting Service
|
Lines: | 13
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Has anybody used virtual functions in djgpp. I have a base class
declared with virtual functions. I derive a calss from this base class
in which I overide the virtual functions. When I try to link however,
any reference to these methods in the code file for the derived class
shoot out an error that looks like this:
code.o:code.cc:undefined reference to "the virtual function as it
appears in the base class declaration"
Can anybody shed some light on this?
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
- Raw text -