This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.1.2 allows throwing an ABC
- To: jukka at narnia dot tky dot hut dot fi
- Subject: Re: egcs 1.1.2 allows throwing an ABC
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sun, 23 May 1999 21:40:47 +0200
- CC: egcs-bugs at egcs dot cygnus dot com
- References: <19990425134535.A13094@narnia.tky.hut.fi>
> I believe this is a bug. (However, if it for some strange reason is a
> feature, I'd like to see at least a compiler switch to disallow this thing.)
Thanks for your bug report. gcc-2.95 19990523 says
a.cc: In function `int main()':
a.cc:8: cannot allocate an object of type `A'
a.cc:8: since the following virtual functions are abstract:
a.cc:3: int A::f()
so it seems that the bug is fixed.
Regards,
Martin