Does g++ provide any sorts of warnings when a non-virtual function is overridden? I know that it is a legal thing to do in C++, but for us it is always a wrong thing to do.
Example
class Parent {
public:
void f();
};
class Child : public Parent {
public:
void f(); // I want a WARNING here!!!
};
thanks
i
_______________________________________________
help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus
