Mail Archives: djgpp/1995/09/14/06:12:24
> I can't solve this problem that is a link error. The error message is
>
> undefined reference to __pure_virtual.
>
> Here is the including library list.
>
> -lgpp -liostr -lpc -lm
>
> I used a pure virtual class as a super class. I wonder whether DJGPP supports
> pure class or not.
> Please, help me.
I had the same problem with DJGPP (release 12.maint4 and gcc 2.6.3) but I
couldn't fix it. I have also got no answers to what could be causing this
problem. There is a work-around. Instead of declaring the method pure
function just declare it with an empty body. This is not as efficient
and clean but it works:
my_pure_method (parms) = 0;
--->
my_pure_method (parms) { }
Greetings,
==============================================================================
Jorrit DOT Tyberghein AT uz DOT kuleuven DOT ac DOT be, University Hospitals KU Leuven BELGIUM
Basically, there were two sides to the world. There was the entire computer
games software industry engaged in a tremendous effort to stamp out piracy,
and there was Wobbler. Currently, Wobbler was in front.
-- (Terry Pratchett, Only You Can Save Mankind)
==============================================================================
- Raw text -