This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
pure virtual functions bug in egcs
- To: egcs-bugs at cygnus dot com
- Subject: pure virtual functions bug in egcs
- From: Felix von Leitner <leitner at amdiv dot de>
- Date: Tue, 7 Jul 1998 12:15:32 +0200
If I have to post this bug once a week until it is fixed, I will do so.
$ cat t.C
class bug {
public:
virtual void purevirtual()=0;
};
main() { }
$ egcc -v
Reading specs from /usr/lib/gcc-lib/alphaev56-unknown-linux-gnu/egcs-2.91.46/specs
gcc version egcs-2.91.46 19980707 (gcc2 ss-980609 experimental)
$ egcc -o t t.C
/tmp/ccCrhWJl%O: In function `global constructors keyed to main':
t.C(.text+0xa0): undefined reference to `bug::purevirtual(void)'
collect2: ld returned 1 exit status
$
I posted this bug at least four times now to various mailing lists, a
few times to this one, too. Am I the only one with this problem?!
egcs-1.0.3a does not have this problem.
Felix