c++/2843: parser: __attribute__ on parameter declarations

neil@gcc.gnu.org neil@gcc.gnu.org
Thu Jan 2 05:51:00 GMT 2003


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



More information about the Gcc-bugs mailing list