This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/54162] Please accept static global anonymous unions or structs as an extension
- From: "josh at joshtriplett dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Aug 2012 14:50:35 +0000
- Subject: [Bug c/54162] Please accept static global anonymous unions or structs as an extension
- Auto-submitted: auto-generated
- References: <bug-54162-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54162
Josh Triplett <josh at joshtriplett dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
Summary|Does not accept static |Please accept static global
|global anonymous unions or |anonymous unions or structs
|structs |as an extension
--- Comment #3 from Josh Triplett <josh at joshtriplett dot org> 2012-08-20 14:50:35 UTC ---
How odd. Quite a number of sources seem to suggest that C11 allows this. But
in any case, several other compilers *do* allow this syntax; thus, reopening
this and turning it into a request for an extension.