This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49975] warn on malformed __attribute((...))__
- From: "ext at sidvind dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 4 Aug 2011 13:33:40 +0000
- Subject: [Bug c/49975] warn on malformed __attribute((...))__
- Auto-submitted: auto-generated
- References: <bug-49975-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49975
--- Comment #2 from David Sveningsson <ext at sidvind dot com> 2011-08-04 13:33:21 UTC ---
Might be valid, but confusing. If whitespace were required after "))" it would
make more sense as it is clear that a global is created.
As the documentation states that __attribute__ is the keyword, I think a
warning would be appropriate even if it is retained for compatibility.