http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47232
Summary: Confusing ObjC error message "attributes may not be specified before before ‘class’" Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: objc AssignedTo: unassig...@gcc.gnu.org ReportedBy: nic...@gcc.gnu.org The following ObjC testcase: __attribute__ ((deprecated)) @class A; triggers the error test5.m:1:30: error: attributes may not be specified before before ‘class’ which is clumsy. It is due to c-parser.c producing the error "attributes may not be specified before" which is then joined with "before 'class'". Thanks