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++/18698] [4.0/4.1/4.2 regression] Error message using "using" for code not using "using" ;-)



------- Comment #10 from jason at gcc dot gnu dot org  2006-06-30 18:27 -------
Subject: Bug 18698

Author: jason
Date: Fri Jun 30 18:27:18 2006
New Revision: 115095

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115095
Log:
        PR c++/18698
        * decl2.c (grokfield): Only try to treat the decl as an access
        declaration if the scope is a class.

Added:
    trunk/gcc/testsuite/g++.dg/parse/access10.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c


-- 


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


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