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/14374] valid unamed struct in a union rejected by gcc


------- Additional Comments From schwab at suse dot de  2004-03-02 01:04 -------
The unnamed members in 6.2.5 refer to unnamed bit-fields.  A /declarator/, 
which is only optional for bit-fields, always contains a name.  Furthermore: 
 
6.7.2.1#7: ... If the struct-declaration-list contains no named members, the 
behavior is undefined. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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