delorie.com/archives/browse.cgi | search |
Message-ID: | <350ECEB1.BFDE2CD0@johnbryce.co.il> |
Date: | Tue, 17 Mar 1998 21:27:46 +0200 |
From: | Noam Rotem <nrotem AT johnbryce DOT co DOT il> |
Organization: | John Bryce Training Centre L.T.D |
MIME-Version: | 1.0 |
To: | Andris Pavenis <pavenis AT latnet DOT lv> |
CC: | djgpp AT delorie DOT com |
Subject: | Re: Run-time error: pure virtual function called |
References: | <Pine DOT GSO DOT 3 DOT 96 DOT 980317095141 DOT 8120B-100000 AT sisenis> |
Andris Pavenis wrote: > On Mon, 16 Mar 1998, Gavin Sinclair wrote: > > > the message "Pure virtual function called" (using DJGPP of course, gcc > > 2.7.2.1). > > The most obvious way how to get this message is to call virtual function > from constructor or destructor of base class when this virtual function is > redefined in inheritted class Why is this a runtime error? Can't the compiler locate this bug? Noam Rotem
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |