------- Comment #5 from jwakely dot gcc at gmail dot com  2009-07-13 11:48 
-------
(In reply to comment #0)
> 
> What I/we at OOo would like to have is a warning when a when a function in a
> derived class is overloaded without specifing 'virtual'. 

To avoid further misunderstanding: you mean overridden, not overloaded.

This seems like the sort of thing that could be put in a plugin or other static
analysis tool rather than the compiler, because it warns about a preference in
coding style.


-- 

jwakely dot gcc at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jwakely dot gcc at gmail dot
                   |                            |com


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

Reply via email to