[Bug c++/87729] Please include -Woverloaded-virtual in -Wall

bugzilla@poradnik-webmastera.com gcc-bugzilla@gcc.gnu.org
Wed Jan 2 17:56:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729

--- Comment #2 from Daniel Fruzynski <bugzilla@poradnik-webmastera.com> ---
Here you are:

[code]
class Foo
{
public:
    virtual void f(int);
};

class Bar : public Foo
{
public:
    virtual void f(short);
};
[/code]


More information about the Gcc-bugs mailing list