Anonymous struct/union in C
Mumit Khan
khan@xraylith.wisc.EDU
Wed Jun 30 23:15:00 GMT 1999
Richard Henderson <rth@cygnus.com> writes:
> On Tue, Jun 15, 1999 at 09:35:42PM -0500, Mumit Khan wrote:
> > struct person
> > {
> > char name[30];
> > struct phone;
> > } Jim = {"Jim bob", {53706, 123456}};
>
> This is just too gross to live. Please tell me it isn't part
> of some windows compatibility thing.
Yes, it is truly gross, and you guessed it -- it's a MSVC compatibility
thing. Fortunately, I don't see this used in the system headers, so we
can compromise and not accept such an atrocity.
Regards,
Mumit
More information about the Gcc-patches
mailing list