This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unnamed UNION and STRUCT members
- To: Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Subject: Re: Unnamed UNION and STRUCT members
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Wed, 18 Nov 1998 12:28:10 -0600
- cc: Branko Cibej <branko dot cibej at hermes dot si>, "Pavel Pisa;research student" <pisa at waltz dot felk dot cvut dot cz>, egcs at cygnus dot com
Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:
> Branko Cibej <branko.cibej@hermes.si> writes:
>
> |> "Pavel Pisa;research student" wrote:
> |>
> |> 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.
>
Pavel is half right -- it's a Microsoft's extension, and much like any
ad-hoc platform specific extension, it's a proven method to avoid the
complications of dealing with competition.
If anyone's interested, I still have some patches lying around (mostly
from Alastair Houghton) that implements this "feature". I never submitted
these patches to egcs for obvious reasons.
Regards,
Mumit