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: Regarding anonymous unions, etc.


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)

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