[Bug c++/56556] Wshadow warns for private members in base classes

2024-09-27 Thread ossman at cendio dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56556 Pierre Ossman changed: What|Removed |Added CC||ossman at cendio dot se --- Comment #5 f

[Bug c++/56556] Wshadow warns for private members in base classes

2024-05-11 Thread trash.paradise at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56556 --- Comment #4 from Gaƫl Bonithon --- It would be nice if this could be fixed. I'm currently experimenting with porting a GTK text editor to Qt6, and it seems that because of this, I can't name a local variable 'data' in a method of a QWidget der

[Bug c++/56556] Wshadow warns for private members in base classes

2022-02-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56556 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|RESOLVED

[Bug c++/56556] Wshadow warns for private members in base classes

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56556 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/56556] Wshadow warns for private members in base classes

2013-03-06 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56556 --- Comment #1 from Andrew Pinski 2013-03-07 00:46:12 UTC --- The main reason for the warning here is namelookup happens before access control happens. So even if change the name of x usage in Derived, you will start to get weird error me