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++/26573] [4.0/4.1/4.2 regression] Duplicate message for static member in local class



------- Comment #3 from lmillward at gcc dot gnu dot org  2006-08-27 15:22 -------
Subject: Bug 26573

Author: lmillward
Date: Sun Aug 27 15:22:05 2006
New Revision: 116490

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116490
Log:
        PR c++/26573
        * class.c (check_field_decls): Don't issue error about
        local classes containing static data members.

        * g++.dg/other/static2.C: New test. 


Added:
    trunk/gcc/testsuite/g++.dg/other/static2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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