gcc -Woverloaded-virtual

David Faure faure at kde.org
Sun Nov 25 16:26:10 GMT 2007


On Saturday 24 November 2007, Thomas McGuire wrote:
> Hello,
>  
> On Friday 16 November 2007, Allen Winter wrote:
> > Howdy,
> >
> > Vir and I think we should add the gcc option -Woverloaded-virtual to the
> > CXXFLAGS. Can we do this?
> I think we should remove this again. There are simply too many warnings, as a 
> result I can't see the other, more useful warnings anymore, they are all in 
> the middle of those virtual-overload warnings.
> Additionally, most of the warnings are false positives (I checked a few in 
> KMail, and the ones I checked were all false, except one).

Actually I keep finding real bugs when reading this flag's warnings...
Like the readProperties/saveProperties one...

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list