www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/13/01:10:07

Xref: news-dnh.mv.net comp.os.msdos.djgpp:3798
Path: news-dnh.mv.net!mv!news.NH.Destek.Net!news2.net99.net!news.cais.net!news.vbc.net!news.vbc.net!theplanet.net!uunet!in1.uu.net!salliemae!newsfeed.internetmci.com!in2.uu.net!genmagic!goonsquad.spies.com!uuwest!alcyone!max
From: max AT alcyone DOT darkside DOT com (Erik Max Francis)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Pure virtual methods
Date: Mon, 11 Dec 95 18:21:00 PST
References: <DJE1r6 DOT 9AJ AT jade DOT mv DOT net>
Organization: &tSftDotIotE
Lines: 21
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

"Alaric B. Williams" <DJGPP AT abwillms DOT demon DOT co DOT uk> writes:

> When I use pure virtuals in DJGPP, I get link errors 'coz it can't find 
> "__pure_virtual" (presumably a filler function for pure virtuals to cough up 
> error).
> 
> Where is this defined? It goes away when I turn the pure virtuals into blank 
> functions, but that's a kludge.

Link in libgpp, with the command argument -lgpp specified _after_ you 
specify the modules; e.g.:

    gcc file1.c file2.c file3.c obj1.o obj2.o -lgpp -o programs.cof


Erik Max Francis, &tSftDotIotE && uuwest!alcyone!max, max AT alcyone DOT darkside DOT com
San Jose, California, U.S.A. && 37 20 07 N 121 53 38 W && the 4th R is respect
H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- && 1love && folasade
_Omnia quia sunt, lumina sunt._ && GIGO Omega Psi && http://www.spies.com/max/
"The Creator Raven looked at Man and was . . . surprised to find that this
strange new being was so much like himself."           -- Eskimo creation myth

- Raw text -


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