[Bug c++/38022] [4.4 regression, g++] Incorrect warning with -Wshadow
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 5 21:30:00 GMT 2008
------- Comment #1 from jakub at gcc dot gnu dot org 2008-11-05 21:28 -------
Why do you think this is a bug?
-Wshadow warns even for:
int foo;
int (*fn) (int foo);
and this is pretty much the same thing.
Before PR37302 G++ has been buggy and didn't declare parameters where it was
supposed to do.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38022
More information about the Gcc-bugs
mailing list