@interface Foo -(void) quux: (int [5])a; @end @implementation Foo -(void) quux: (int *)a; @end
With the mainline we get: t.m: In function '-[Foo quux:]': t.m:7: error: parse error before 'AT_NAME' token t.m:7: warning: '@end' missing in implementation context But with 3.3.2, we get: t.m:7: error: parse error before "end" 3.4.0 is just as bad as 3.3.x: t.m:7: error: parse error before 'CPP_AT_NAME' token t.m:7: confused by earlier errors, bailing out -- Summary: [3.4/4.0 Regression] weird message for interface way in implementation Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: diagnostic Severity: minor Priority: P2 Component: objc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19324