Mail Archives: djgpp/1998/03/16/14:21:10
From: | Gavin Sinclair <gavins AT cse DOT unsw DOT EDU DOT AU>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Run-time error: pure virtual function called
|
Date: | Mon, 16 Mar 1998 23:57:44 +1100
|
Organization: | University of New South Wales
|
Lines: | 18
|
Message-ID: | <Pine.GSO.3.95.980316234447.13733A-100000@haydn.orchestra.cse.unsw.EDU.AU>
|
NNTP-Posting-Host: | haydn.orchestra.cse.unsw.edu.au
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hello,
I'm having this strange problem whereby my program dies at runtime with
the message "Pure virtual function called" (using DJGPP of course, gcc
2.7.2.1). Now I know what it means (it's a C++ program), but I found
where it was stopping and there are certainly no pure virtual function
calls. In fact it seems to dislike the line
return kingthreats.numElements;
where there are obviously no function calls at all. Has anyone had any
experience with this?
---
Gavin Sinclair
University of New South Wales,
Sydney, Australia
- Raw text -