This is the mail archive of the gcc@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]

Re: Unnamed UNION and STRUCT members


Branko Cibej <branko.cibej@hermes.si> writes:

|> "Pavel Pisa;research student" wrote:
|> 
|> [unnamed union in struct example]
|> 
|> > It seems to be M$ extension to C to allow unnamed members
|> > in structs and unions and members of these unnamed members
|> > can be accessed by its name in name space of containing structure
|> > or union.
|> 
|> It is an M$ extension, but AFAIK it's also defined in C9X, so egcs
|> should definitely know about it.

No.  The latest C9X draft does not mention unnamed unions.  This must have
been added only very recently, which is very unlikely.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org


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