* Re: Regarding anonymous unions, etc.
@ 1999-08-31 19:44 Sam Lantinga
1999-08-31 20:13 ` Mumit Khan
1999-08-31 23:20 ` Sam Lantinga
0 siblings, 2 replies; 14+ messages in thread
From: Sam Lantinga @ 1999-08-31 19:44 UTC (permalink / raw)
To: Dan Kegel; +Cc: gcc, slouken
> I hear the GCC team is soliciting input as to how important
> Microsoft C++ extensions like anonymous unions, etc. are.
> I and the folks at Lokigames.com would dearly love to be able to
> port games from Win32 to Linux more easily. This is
> complicated by all the Microsoft-isms that won't compile
> under gcc. The more source code from the Windows world
> you can compile under gcc, the better, in my book.
FYI, the new patches from Mumit Khan, which appear to be integrated
into the latest CVS version of gcc/egcs, solve many of our problems
with anonymous structures and so forth.
Kudos to everyone who has been working on GCC. :)
-Sam Lantinga (slouken@devolution.com)
Lead Programmer, Loki Entertainment Software
--
"Any sufficiently advanced bug is indistinguishable from a feature"
-- Rich Kulawiec
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-08-31 19:44 Regarding anonymous unions, etc Sam Lantinga
@ 1999-08-31 20:13 ` Mumit Khan
1999-08-31 23:20 ` Mumit Khan
1999-09-02 0:24 ` Jeffrey A Law
1999-08-31 23:20 ` Sam Lantinga
1 sibling, 2 replies; 14+ messages in thread
From: Mumit Khan @ 1999-08-31 20:13 UTC (permalink / raw)
To: Sam Lantinga; +Cc: Dan Kegel, gcc
Sam Lantinga <slouken@devolution.com> writes:
>
> FYI, the new patches from Mumit Khan, which appear to be integrated
> into the latest CVS version of gcc/egcs, solve many of our problems
> with anonymous structures and so forth.
>
If you're referring to C++ anon aggregates, it's Jason's and it has
been in the "mainline" for a while now, though not in the release
branch. If you're referring to C anon aggregates, my patch is certainly
not integrated; in fact, I don't believe maintainers have yet looked
at it, and I have yet to see any feedback (other than Richard Henderson's
initial "Yuk!" reaction to one of the "features" ;-)
I've incorporated both of these in the gcc-2.95 binaries I distribute
for windows32 however, and it's easy enough to get these out of my
patchset available from:
ftp://ftp.xraylith.wisc.edu/~khan/software/gnu-win32/cygwin/gcc-2.95/patches/
The patches of interest are:
C anon aggregates:
gcc-2.95-anon-struct-union.diff ....... Anonymous structs/unions in C.
C++ anon structs:
gcc-2.95-c++-tidy.diff ................ Jason's C++ "tidying" patch.
Prereq for all other C++ patches.
gcc-2.95-c++-anon-struct.diff ....... Anonymous structs in C++.
gcc-2.95-c++-anon-struct2.diff ....... small tweak.
As usual, unsupported in every way imaginable.
Regards,
Mumit
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-08-31 20:13 ` Mumit Khan
@ 1999-08-31 23:20 ` Mumit Khan
1999-09-02 0:24 ` Jeffrey A Law
1 sibling, 0 replies; 14+ messages in thread
From: Mumit Khan @ 1999-08-31 23:20 UTC (permalink / raw)
To: Sam Lantinga; +Cc: Dan Kegel, gcc
Sam Lantinga <slouken@devolution.com> writes:
>
> FYI, the new patches from Mumit Khan, which appear to be integrated
> into the latest CVS version of gcc/egcs, solve many of our problems
> with anonymous structures and so forth.
>
If you're referring to C++ anon aggregates, it's Jason's and it has
been in the "mainline" for a while now, though not in the release
branch. If you're referring to C anon aggregates, my patch is certainly
not integrated; in fact, I don't believe maintainers have yet looked
at it, and I have yet to see any feedback (other than Richard Henderson's
initial "Yuk!" reaction to one of the "features" ;-)
I've incorporated both of these in the gcc-2.95 binaries I distribute
for windows32 however, and it's easy enough to get these out of my
patchset available from:
ftp://ftp.xraylith.wisc.edu/~khan/software/gnu-win32/cygwin/gcc-2.95/patches/
The patches of interest are:
C anon aggregates:
gcc-2.95-anon-struct-union.diff ....... Anonymous structs/unions in C.
C++ anon structs:
gcc-2.95-c++-tidy.diff ................ Jason's C++ "tidying" patch.
Prereq for all other C++ patches.
gcc-2.95-c++-anon-struct.diff ....... Anonymous structs in C++.
gcc-2.95-c++-anon-struct2.diff ....... small tweak.
As usual, unsupported in every way imaginable.
Regards,
Mumit
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-08-31 19:44 Regarding anonymous unions, etc Sam Lantinga
1999-08-31 20:13 ` Mumit Khan
@ 1999-08-31 23:20 ` Sam Lantinga
1 sibling, 0 replies; 14+ messages in thread
From: Sam Lantinga @ 1999-08-31 23:20 UTC (permalink / raw)
To: Dan Kegel; +Cc: gcc, slouken
> I hear the GCC team is soliciting input as to how important
> Microsoft C++ extensions like anonymous unions, etc. are.
> I and the folks at Lokigames.com would dearly love to be able to
> port games from Win32 to Linux more easily. This is
> complicated by all the Microsoft-isms that won't compile
> under gcc. The more source code from the Windows world
> you can compile under gcc, the better, in my book.
FYI, the new patches from Mumit Khan, which appear to be integrated
into the latest CVS version of gcc/egcs, solve many of our problems
with anonymous structures and so forth.
Kudos to everyone who has been working on GCC. :)
-Sam Lantinga (slouken@devolution.com)
Lead Programmer, Loki Entertainment Software
--
"Any sufficiently advanced bug is indistinguishable from a feature"
-- Rich Kulawiec
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-08-31 20:13 ` Mumit Khan
1999-08-31 23:20 ` Mumit Khan
@ 1999-09-02 0:24 ` Jeffrey A Law
1999-09-02 6:36 ` Gavin Romig-Koch
1999-09-30 18:02 ` Jeffrey A Law
1 sibling, 2 replies; 14+ messages in thread
From: Jeffrey A Law @ 1999-09-02 0:24 UTC (permalink / raw)
To: Mumit Khan; +Cc: Sam Lantinga, Dan Kegel, gcc
In message <199909010313.WAA18456@mercury.xraylith.wisc.edu>you write:
> Sam Lantinga <slouken@devolution.com> writes:
> >
> > FYI, the new patches from Mumit Khan, which appear to be integrated
> > into the latest CVS version of gcc/egcs, solve many of our problems
> > with anonymous structures and so forth.
> >
>
> If you're referring to C++ anon aggregates, it's Jason's and it has
> been in the "mainline" for a while now, though not in the release
> branch. If you're referring to C anon aggregates, my patch is certainly
> not integrated; in fact, I don't believe maintainers have yet looked
> at it, and I have yet to see any feedback (other than Richard Henderson's
> initial "Yuk!" reaction to one of the "features" ;-)
Thanks for clarifying. I've been meaning to ask what the status of anon
aggregates was so that I could either zap the patch from my queue or bug
on the C folks to review it.
jeff
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-09-02 0:24 ` Jeffrey A Law
@ 1999-09-02 6:36 ` Gavin Romig-Koch
1999-09-30 18:02 ` Gavin Romig-Koch
1999-09-30 18:02 ` Jeffrey A Law
1 sibling, 1 reply; 14+ messages in thread
From: Gavin Romig-Koch @ 1999-09-02 6:36 UTC (permalink / raw)
To: law, Mumit Khan; +Cc: gcc
> > If you're referring to C anon aggregates, my patch is certainly
> > not integrated; in fact, I don't believe maintainers have yet looked
> > at it, and I have yet to see any feedback (other than Richard Henderson's
> > initial "Yuk!" reaction to one of the "features" ;-)
> Thanks for clarifying. I've been meaning to ask what the status of anon
> aggregates was so that I could either zap the patch from my queue or bug
> on the C folks to review it.
> C anon aggregates:
> gcc-2.95-anon-struct-union.diff ....... Anonymous structs/unions in C.
Looks like I've dropped this patch from my list, for which I apologize.
I'll look at this as soon as I can.
-gavin...
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-09-02 0:24 ` Jeffrey A Law
1999-09-02 6:36 ` Gavin Romig-Koch
@ 1999-09-30 18:02 ` Jeffrey A Law
1 sibling, 0 replies; 14+ messages in thread
From: Jeffrey A Law @ 1999-09-30 18:02 UTC (permalink / raw)
To: Mumit Khan; +Cc: Sam Lantinga, Dan Kegel, gcc
In message <199909010313.WAA18456@mercury.xraylith.wisc.edu>you write:
> Sam Lantinga <slouken@devolution.com> writes:
> >
> > FYI, the new patches from Mumit Khan, which appear to be integrated
> > into the latest CVS version of gcc/egcs, solve many of our problems
> > with anonymous structures and so forth.
> >
>
> If you're referring to C++ anon aggregates, it's Jason's and it has
> been in the "mainline" for a while now, though not in the release
> branch. If you're referring to C anon aggregates, my patch is certainly
> not integrated; in fact, I don't believe maintainers have yet looked
> at it, and I have yet to see any feedback (other than Richard Henderson's
> initial "Yuk!" reaction to one of the "features" ;-)
Thanks for clarifying. I've been meaning to ask what the status of anon
aggregates was so that I could either zap the patch from my queue or bug
on the C folks to review it.
jeff
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-09-02 6:36 ` Gavin Romig-Koch
@ 1999-09-30 18:02 ` Gavin Romig-Koch
0 siblings, 0 replies; 14+ messages in thread
From: Gavin Romig-Koch @ 1999-09-30 18:02 UTC (permalink / raw)
To: law, Mumit Khan; +Cc: gcc
> > If you're referring to C anon aggregates, my patch is certainly
> > not integrated; in fact, I don't believe maintainers have yet looked
> > at it, and I have yet to see any feedback (other than Richard Henderson's
> > initial "Yuk!" reaction to one of the "features" ;-)
> Thanks for clarifying. I've been meaning to ask what the status of anon
> aggregates was so that I could either zap the patch from my queue or bug
> on the C folks to review it.
> C anon aggregates:
> gcc-2.95-anon-struct-union.diff ....... Anonymous structs/unions in C.
Looks like I've dropped this patch from my list, for which I apologize.
I'll look at this as soon as I can.
-gavin...
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-08-31 18:52 ` Joe Buck
1999-08-31 20:02 ` Dan Kegel
@ 1999-08-31 23:20 ` Joe Buck
1 sibling, 0 replies; 14+ messages in thread
From: Joe Buck @ 1999-08-31 23:20 UTC (permalink / raw)
To: Dan Kegel; +Cc: gcc, slouken
> 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.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-08-31 20:02 ` Dan Kegel
@ 1999-08-31 23:20 ` Dan Kegel
0 siblings, 0 replies; 14+ messages in thread
From: Dan Kegel @ 1999-08-31 23:20 UTC (permalink / raw)
To: Joe Buck; +Cc: gcc, slouken
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)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Regarding anonymous unions, etc.
1999-08-31 18:29 Dan Kegel
1999-08-31 18:52 ` Joe Buck
@ 1999-08-31 23:20 ` Dan Kegel
1 sibling, 0 replies; 14+ messages in thread
From: Dan Kegel @ 1999-08-31 23:20 UTC (permalink / raw)
To: gcc; +Cc: slouken
I hear the GCC team is soliciting input as to how important
Microsoft C++ extensions like anonymous unions, etc. are.
I and the folks at Lokigames.com would dearly love to be able to
port games from Win32 to Linux more easily. This is
complicated by all the Microsoft-isms that won't compile
under gcc. The more source code from the Windows world
you can compile under gcc, the better, in my book.
Thanks,
and thanks for a great compiler,
Dan
--
(The above is my opinion alone, and not that of my employer)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-08-31 18:52 ` Joe Buck
@ 1999-08-31 20:02 ` Dan Kegel
1999-08-31 23:20 ` Dan Kegel
1999-08-31 23:20 ` Joe Buck
1 sibling, 1 reply; 14+ messages in thread
From: Dan Kegel @ 1999-08-31 20:02 UTC (permalink / raw)
To: Joe Buck; +Cc: gcc, slouken
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)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Regarding anonymous unions, etc.
1999-08-31 18:29 Dan Kegel
@ 1999-08-31 18:52 ` Joe Buck
1999-08-31 20:02 ` Dan Kegel
1999-08-31 23:20 ` Joe Buck
1999-08-31 23:20 ` Dan Kegel
1 sibling, 2 replies; 14+ messages in thread
From: Joe Buck @ 1999-08-31 18:52 UTC (permalink / raw)
To: Dan Kegel; +Cc: gcc, slouken
> 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.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Regarding anonymous unions, etc.
@ 1999-08-31 18:29 Dan Kegel
1999-08-31 18:52 ` Joe Buck
1999-08-31 23:20 ` Dan Kegel
0 siblings, 2 replies; 14+ messages in thread
From: Dan Kegel @ 1999-08-31 18:29 UTC (permalink / raw)
To: gcc; +Cc: slouken
I hear the GCC team is soliciting input as to how important
Microsoft C++ extensions like anonymous unions, etc. are.
I and the folks at Lokigames.com would dearly love to be able to
port games from Win32 to Linux more easily. This is
complicated by all the Microsoft-isms that won't compile
under gcc. The more source code from the Windows world
you can compile under gcc, the better, in my book.
Thanks,
and thanks for a great compiler,
Dan
--
(The above is my opinion alone, and not that of my employer)
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~1999-09-30 18:02 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-31 19:44 Regarding anonymous unions, etc Sam Lantinga
1999-08-31 20:13 ` Mumit Khan
1999-08-31 23:20 ` Mumit Khan
1999-09-02 0:24 ` Jeffrey A Law
1999-09-02 6:36 ` Gavin Romig-Koch
1999-09-30 18:02 ` Gavin Romig-Koch
1999-09-30 18:02 ` Jeffrey A Law
1999-08-31 23:20 ` Sam Lantinga
-- strict thread matches above, loose matches on Subject: below --
1999-08-31 18:29 Dan Kegel
1999-08-31 18:52 ` Joe Buck
1999-08-31 20:02 ` Dan Kegel
1999-08-31 23:20 ` Dan Kegel
1999-08-31 23:20 ` Joe Buck
1999-08-31 23:20 ` Dan Kegel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).