[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions
gdr at cs dot tamu dot edu
gcc-bugzilla@gcc.gnu.org
Sun Oct 10 22:46:00 GMT 2004
------- Additional Comments From gdr at cs dot tamu dot edu 2004-10-10 22:46 -------
Subject: Re: add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions
"giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org> writes:
| As far as I can tell, this is just a hint for the compiler to
| generate better diagnostic. Pretty much like attribute(sentinel) for
| instance: we just give the compiler more information, we are not
| modifying the semantic of a program.
|
| I'm actually in favor of this PR so I will confirm this. This is not an
| extension as in we are modifying the language semantic, adding
| strange features or whatnot.
I disagree with the notion that it is just a diagnostic related issue;
because it comes with a semantics part. Let's not not disguise a
language extension under the name of diagnostic improvement.
It helps nobody.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17920
More information about the Gcc-bugs
mailing list