[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions

2008-08-21 Thread thomas dot mcguire at gmx dot net
--- Comment #9 from thomas dot mcguire at gmx dot net 2008-08-21 19:15 --- > why just not to use -Woverloaded-virtual? Because that does not help if the virtual function was completely removed from the base class. We actually do use -Woverloaded-virtual, btw. -- h

[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions

2008-08-21 Thread thomas dot mcguire at gmx dot net
--- Comment #7 from thomas dot mcguire at gmx dot net 2008-08-21 18:43 --- Just want to add my support for this feature. I had quite some bugs which I would have discovered earlier if this warning here was implemented. In particular, in KDE4/Qt4, lots of virtual functions were removed