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 c/54162] Please accept static global anonymous unions or structs as an extension


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.


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