delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/07/22:11:53

To: djgpp AT delorie DOT com
Date: Wed, 07 Jul 1999 19:11:04 -0700
From: "Brian Ronk" <rithe AT mailcity DOT com>
Message-ID: <GBFBJMMHJPKIAAAA@mailcity.com>
Mime-Version: 1.0
X-Sent-Mail: off
X-Expiredinmiddle: true
X-Mailer: MailCity Service
Subject: virtual table
X-Sender-Ip: 209.143.15.114
Organization: MailCity (http://www.mailcity.lycos.com:80)
Reply-To: djgpp AT delorie DOT com

I am having a problem with a class and a virtual function.  I'll call my class X.  I derived class Y from X, and then Z from Y.  I have a virtual function in X, and then redefined it in Y.  In Z, I actually redefine the virtual class and use it.  I made a driver program to test class Z, and made a project with it.  Both files compiled into their respective .o files, but when DJGPP went to compile into the .exe, it said that it couldn't find the virtual table for X, and Y.  Any ideas what is going on?  Thanks.

Brian Ronk


Get your FREE Email at http://mailcity.lycos.com
Get your PERSONALIZED START PAGE at http://my.lycos.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019