------- Comment #11 from jwakely dot gcc at gmail dot com 2009-07-21 10:51 ------- There is a lot of overlap between this warning and the functionality described by http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2852.html (which will be updated by N2928 in a couple of weeks.)
It might make sense to add attributes rather than a -W switch, as that might make it easier to implement the C++0x [[base_check]] and [[override]] attributes. It would also be easier for user code to transition from GNU-style __attribute__((override)) to C++0x-style [[override]] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31397