This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs 1.1.2 allows throwing an ABC


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]