gcc -Woverloaded-virtual

Kevin Krammer kevin.krammer at gmx.at
Wed Nov 21 18:44:29 GMT 2007

On Wednesday 21 November 2007, David Faure wrote:

> A private "using" clause is a solution (which doesn't solve the
> "KSelectAction*" issue, but there is no real solution to that one, except a
> reimplementation that warns or aborts... still not caught at compile time
> though).

I'd vote for abort. Not as good as a compile time error, but at least 
detectable and traceable.

If it weren't necessary to move it to private, it could even be re-documented 
with \warning DO NOT USE :)


Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071121/7f72dc3f/attachment.sig>

More information about the kde-core-devel mailing list