This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug objc/47232] Confusing ObjC error message "attributes may not be specified before before âclassâ"


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47232

--- Comment #2 from Nicola Pero <nicola at gcc dot gnu.org> 2011-01-09 22:47:27 UTC ---
Author: nicola
Date: Sun Jan  9 22:47:22 2011
New Revision: 168619

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168619
Log:
In gcc/:
2011-01-09  Nicola Pero  <nicola.pero@meta-innovation.com>

    PR objc/47232
    * c-parser.c (c_parser_declaration_or_fndef): Improved
    error message.

In gcc/testsuite/:
2011-01-09  Nicola Pero  <nicola.pero@meta-innovation.com>

    PR objc/47232
    * objc.dg/attributes/invalid-attribute-1.m: New.
    * obj-c++.dg/attributes/invalid-attribute-1.mm: New.    

Added:
    trunk/gcc/testsuite/obj-c++.dg/attributes/invalid-attribute-1.mm
    trunk/gcc/testsuite/objc.dg/attributes/invalid-attribute-1.m
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]