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]
Other format: [Raw text]

[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions


------- 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


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