http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44128
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.6.0 --- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-05 03:44:37 UTC --- Yes, it was fixed by 2010-07-02 Le-Chun Wu <l...@google.com> PR/44128 * name-lookup.c (pushdecl_maybe_friend): Warn when a local decl (variable or type) shadows another type. Changing the second warning to an inform sounds good.