This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/47232] Confusing ObjC error message "attributes may not be specified before before âclassâ"
- From: "nicola at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 9 Jan 2011 14:21:24 +0000
- Subject: [Bug objc/47232] Confusing ObjC error message "attributes may not be specified before before âclassâ"
- Auto-submitted: auto-generated
- References: <bug-47232-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47232
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.09 14:21:22
Ever Confirmed|0 |1
--- Comment #1 from Nicola Pero <nicola at gcc dot gnu.org> 2011-01-09 14:21:22 UTC ---
I was looking at the other parser messages; maybe we could simply replace
"attributes may not be specified before" with "unexpected attribute".
Then, the error message would become
unexpected attribute before 'class'
which is quite consistent with the other error messages.
Thanks