www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/21/04:41:30

Date: Wed, 21 Aug 1996 11:28:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Kelly BARRETT <kbarr AT ecr DOT mu DOT OZ DOT AU>
Cc: djgpp AT delorie DOT com
Subject: Re: Problems with virtual members
In-Reply-To: <Pine.SGI.3.95.960821134503.12175A-100000@huck.ecr.mu.oz.au>
Message-Id: <Pine.SUN.3.91.960821112712.336d-100000@is>
Mime-Version: 1.0

On Wed, 21 Aug 1996, Kelly BARRETT wrote:

> I just started to use virtual members in my c++ classes, but since I tried
> to use them I have been getting linking errors, such as:
> 
> undefined reference <class name> virtual table
> 
> or something like that.
> 
> I used gcc with -lgpp and also have tried gxx but nothing seems to work.

Try using gxx, but append -lstdcx at the end of the link command line 
(gxx still doesn't know about libstdcx.a; to be corrected in the next 
release).

- Raw text -


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