This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33878] Pure virtual method body omitted from template
- From: "herwig at gdsys dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Nov 2007 07:54:02 -0000
- Subject: [Bug c++/33878] Pure virtual method body omitted from template
- References: <bug-33878-15256@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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