www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/19/02:19:33

Date: Wed, 19 Apr 1995 12:41:53 +22305931 (WAUST)
From: Ron Grunwald <rgrunwal AT bluering DOT cowan DOT edu DOT au>
Subject: Re: Code works fine (Was: - no subject (01HPGHOSEGZW8WVYV7) -)
To: "Steve Salter (519) 452-4447" <SALTERS AT AM DOT FANSHAWEC DOT ON DOT CA>
Cc: "stadier AT cuug DOT ab DOT ca" <stadier AT cuug DOT ab DOT ca>,
DJGPP Mailing List <djgpp AT sun DOT soe DOT clarkson DOT edu>

The following was said about this particular problem: 

>> I'm having a problem using abstract classes with GCC 2.6.3.
>> 

[Program Deleted]

>> 
>> I get the error message:
>> 
>> 	pure.cc(.text+0x7a): undefined reference to `__pure_virtual'
>> 

>When I compiled, linked and ran your excerpt, it ran fine:

>106$ gcc pure.C -liostr
                 ^^^^^^^
Now, that's an interesting library you're linking in. Does this mean
that libgpp.a is not sufficient in order to use pure virtual member
functions?


Regards, Ron.


 ********************************************************************
 | Author.............. Ron Grunwald                                | 
 | Internet............ rgrunwal AT bluering DOT cowan DOT edu DOT au              |
 | Phone............... (09)273 8027 or (09)273 8468                |
 |------------------------------------------------------------------|
 | Department.......... Computer Operations and Systems Management  |
 | Division/Faculty.... Information Technology                      | 
 | Institute........... Edith Cowan University, Churchlands         | 
 | Location............ Perth, Western Australia                    |
 ********************************************************************
 "I don't have any solution but I certainly admire the problem!"



- Raw text -


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