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++/39763] -Wshadow reports shadowed declarations for parameters of unnamed temp objects



------- Comment #6 from jason at gcc dot gnu dot org  2009-04-14 17:14 -------
Subject: Bug 39763

Author: jason
Date: Tue Apr 14 17:14:04 2009
New Revision: 146054

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146054
Log:
        PR c++/39763
        * name-lookup.c (pushdecl_maybe_friend): Avoid all warnings
        about shadowing by tentative parms.

Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/name-lookup.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/warn/Wshadow-4.C


-- 


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


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