[Bug c++/37831] -Wshadow warns about variables inside classes member functions

2008-10-14 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2008-10-15 01:51 --- (In reply to comment #2) > bar the function shadows bar the variable. I think the warning is correct. > The variable _bar is not being taken into account at all. Ah, bummer, I didn't even look close enough to see that

[Bug c++/37831] -Wshadow warns about variables inside classes member functions

2008-10-14 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-15 01:40 --- bar the function shadows bar the variable. I think the warning is correct. The variable _bar is not being taken into account at all. -- pinskia at gcc dot gnu dot org changed: What|Removed