gcc -Woverloaded-virtual

Oswald Buddenhagen ossi at kde.org
Wed Nov 21 08:02:41 GMT 2007


On Wed, Nov 21, 2007 at 01:19:44AM +0100, Alexander Neundorf wrote:
> On Wednesday 21 November 2007, Dirk Mueller wrote:
> > On Friday 16 November 2007, Allen Winter wrote:
> > > Vir and I think we should add the gcc option -Woverloaded-virtual to the
> > > CXXFLAGS. Can we do this?
> >
> > I don't think its a good idea to enable it. did you see the spam of
> > warnings it causes, where 70% of them are false?
> 
> I have the same impression seeing that option in action now.
> 
that's true for "variable might be used uninitialized", too - at least
in my code. are we going to disable the warning now?
isn't there a way to suppress the warning in legitimate cases?

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list