http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47262
Summary: Better error message upon finding a @property in the instance variable list 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 error is probably fairly common -- /* Contributed by Nicola Pero <nicola.p...@meta-innovation.com>, December 2010. */ /* { dg-do compile } */ @interface A { @property int x; } @end it would be nice to print a nice, friendly error message (to be defined, but something explaining that @property should go with the methods, not instance variables). At the moment we print testcase.m:6:3: error: expected specifier-qualifier-list before ‘property’ which doesn't tell an unexperienced user anything other than there is a syntax error in the code. ;-) Thanks