This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288

--- Comment #17 from David Fang <fang at csl dot cornell.edu> 2011-05-20 17:56:25 UTC ---
I usually catch these with -Wshadow -Werror.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]