------- Comment #2 from bangerth at dealii dot org  2007-04-08 00:58 -------
(In reply to comment #1)
> Do you mean -Woverloaded-virtual?  (see man page)
> The diagostic reports when a derived class's method 'hides' the base class's. 
>  

No, he simply wants to know that "it doesn't matter from a semantic point,
but just to make the declaration clearer, why don't you add a 'virtual'
to your destructor and int f(int) functions, because they are implicitly
virtual anyway'.

Confirmed.

W.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2007-04-08 00:58:22
               date|                            |


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

Reply via email to