[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: gcc -Woverloaded-virtual
From: Olivier Goffart <ogoffart () kde ! org>
Date: 2007-11-21 15:34:53
Message-ID: 200711211634.58729.ogoffart () kde ! org
[Download RAW message or body]
Le mercredi 21 novembre 2007, David Faure a =E9crit=A0:
> On Wednesday 21 November 2007, Matthias Kretz wrote:
> > What about "using" statements to silence some warnings where applicable?
> > They don't change anything wrt the resulting code, right?
>
> Well, they do. The warning says a virtual method is hidden, while adding a
> "using" statement makes it visible again. What we're missing is a way to
> say "yes I wanted to hide this method from the base class"...
Place the "using" declaration in the private section.
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic