This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18368] C++ error message regression
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Nov 2004 04:47:56 -0000
- Subject: [Bug c++/18368] C++ error message regression
- References: <20041108044458.18368.sabre@nondot.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dberlin at dberlin dot org 2004-11-08 04:47 -------
Subject: Re: New: C++ error message regression
Yes, it happens ta global scope too.
struct foo {}
void method () {}
will give the same error
On Sun, 8 Nov 2004, sabre at nondot dot org wrote:
> On this c++ code:
>
> struct C {
> struct foo { int A; }
> void method();
> };
> This probably also happens at global scope.
> -Chris
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18368