[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 Jason Merrill changed: What|Removed |Added CC||EisahLee at gmx dot de --- Comment #11

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2016-10-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 --- Comment #10 from Jonathan Wakely --- (In reply to Stephan Bergmann from comment #9) > (In reply to Jonathan Wakely from comment #7) > > The C++0x override control works for virtual and non-virtual names > > That's not true for what then

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2016-10-26 Thread sbergman at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 Stephan Bergmann changed: What|Removed |Added CC||sbergman at redhat dot com ---

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2015-01-30 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 Tom Tromey tromey at gcc dot gnu.org changed: What|Removed |Added CC||tromey at gcc dot

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2010-11-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2010-11-01 11:22:26 UTC --- This would also be solved by the override control features coming in C++0x c.f. PR 17920, PR 31397, PR 36848

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2010-11-01 Thread loose at astron dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 --- Comment #3 from loose at astron dot nl 2010-11-01 12:29:27 UTC --- As far as I know attributes were removed from the C0x Final Draft. Besides, if GCC were to provide a compiler flag to warn for this, you would also be able to catch potential

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2010-11-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2010-11-01 12:36:45 UTC --- Attributes were still in the FCD, and are still in the current draft, but might be removed. Override control may not be done by attributes, but will be

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2010-11-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 2010-11-01 12:39:48 UTC --- also, GNU-style attributes are not being removed from GCC, even if C++0x attributes get dropped my point was just that there are several similar bugs and

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2010-11-01 Thread loose at astron dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 --- Comment #6 from loose at astron dot nl 2010-11-01 12:54:25 UTC --- OK, fair enough. However, I reported this bug, because I would like GCC to produce a warning when hiding a non-virtual method in *existing* code; an option similar to

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2010-11-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710 --- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org 2010-11-01 13:01:43 UTC --- Yup, that's why I haven't closed this as a duplicate. The C++0x override control works for virtual and non-virtual names, so is relevant to this PR *and*

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class

2005-07-01 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-02 01:00 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW