[Bug c++/33878] Pure virtual method body omitted from template
herwig at gdsys dot de
gcc-bugzilla@gcc.gnu.org
Tue Nov 20 07:54:00 GMT 2007
------- Comment #2 from herwig at gdsys dot de 2007-11-20 07:54 -------
(In reply to comment #1)
> 2.95.3 ICEd on this. I don't know if I can consider this a regression.
>
> Confirmed.
>
Shouldn't the keyword say "wrong-code" rather than "accepts-invalid"? Defining
a pure virtual method is valid code, shouldn't that apply to templates as well?
Regards,
Björn A. Herwig
Guntermann & Drunck GmbH Systementwicklung
Dortmunder Str. 4a
D-57234 Wilnsdorf - Germany
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33878
More information about the Gcc-bugs
mailing list