This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions
- From: "thomas dot mcguire at gmx dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Aug 2008 19:15:16 -0000
- Subject: [Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions
- References: <bug-17920-5280@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17920