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++/31397] Useful compiler warning missing (virtual functions in derived classes used without 'virtual')


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31397

Ville Voutilainen <ville.voutilainen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ville.voutilainen at gmail
                   |                            |dot com

--- Comment #14 from Ville Voutilainen <ville.voutilainen at gmail dot com> 2011-07-09 12:54:40 UTC ---
"[[base_check]]" or "explicit" on a class might've been helpful for this, but
even those facilities were never supposed to require annotations on
destructors.
The committee ended up removing that part because there were grammar problems
for "new" on members, and we didn't want to add base_check/explicit that
would check only overrides.


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