This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2843: parser: __attribute__ on parameter declarations
- From: neil at gcc dot gnu dot org
- To: dave dot anglin at nrc dot ca, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, mitchell at codesourcery dot com, nobody at gcc dot gnu dot org
- Date: 2 Jan 2003 05:51:26 -0000
- Subject: Re: c++/2843: parser: __attribute__ on parameter declarations
- Reply-to: neil at gcc dot gnu dot org, dave dot anglin at nrc dot ca, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, mitchell at codesourcery dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: parser: __attribute__ on parameter declarations
State-Changed-From-To: suspended->analyzed
State-Changed-By: neil
State-Changed-When: Wed Jan 1 21:51:25 2003
State-Changed-Why:
The new parser gives:
/tmp/bug.C:1: error: expected constructor, destructor, or type conversion
/tmp/bug.C:1: error: expected `,' or `;
Mark, is this an intentional tightening of the attribute syntax? Regardless, the diagnostic is not too hot.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2843