This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Regarding anonymous unions, etc.
- To: Joe Buck <jbuck@synopsys.com>
- Subject: Re: Regarding anonymous unions, etc.
- From: Dan Kegel <dank@alumni.caltech.edu>
- Date: Tue, 31 Aug 1999 20:04:58 -0700
- CC: gcc@gcc.gnu.org, slouken@devolution.com
- References: <199909010151.SAA18243@atrus.synopsys.com>
Joe Buck wrote:
>
> > I hear the GCC team is soliciting input as to how important
> > Microsoft C++ extensions like anonymous unions, etc. are.
>
> Anonymous unions are standard C++ and are supported by GCC. However, MFC
> does use some non-standard features of MSVC.
I'm referring to C, not C++. GCC still refuses to accept anonymous
unions in C programs. Visual C accepts them happily. It's not
acceptable to compile the C programs as C++.
If you can tell me what compiler option to give gcc to
get it to accept anonymous unions in C, I'll gladly eat
my hat.
Thanks,
Dan
--
(The above is my opinion alone, and not that of my employer)