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++/29077] Incorrect error message for destructor in wrong namespace



------- Comment #3 from simartin at gcc dot gnu dot org  2007-03-28 22:06 -------
Subject: Bug 29077

Author: simartin
Date: Wed Mar 28 22:06:01 2007
New Revision: 123312

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123312
Log:
2007-03-28  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/29077
        * decl.c (grokfndecl): Properly setup decl if it is a constructor or a
        destructor.

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


-- 


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


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