[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Anonymous struct/union:s and gcc-2.95
From:       Patrik Stridvall <ps () leissner ! se>
Date:       1999-08-30 6:56:12
[Download RAW message or body]

I recieved this mail from Jeff Garzik.

It pretty much confirm what we already knew.

I will try to make some comment about it in
an appropriate documents files,
when I have more time.

---8<---
On Sun, 29 Aug 1999, Jeff Garzik wrote:
	The cygwin web page describes gcc 2.95 as having support for
anonymous
	structs and unions, which is needed for compiling Microsoft C code.

It's in the mainline (ie., it'll be in the next major release), but didn't
make it in time for gcc-2.95 release tree and so won't be in gcc-2.95.2 and
so on. 
	Is this support in the mainline compiler?  Not only is this useful
under
	Win32, it is also a long-requested feature by the WINE project, who
	endeavour to compile native Microsoft sources against their
libraries.

It's been in my windows binaries since gcc-2.95 and works quite well.  I've
extracted the patches needed for gcc-2.95, and you're welcome to try it out.
ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95/patches/
has my patchset. The files you want (at the very least), are the following:
gcc-2.95-anon-struct-union.diff ....... Anonymous structs/unions in C.
gcc-2.95-c++-anon-struct.diff   ....... Anonymous structs in C++.
gcc-2.95-c++-anon-struct2.diff  .......   small tweak.
gcc-2.95-c++-tidy.diff ................ Jason's C++ "tidying" patch.
Prereq for all other C++ patches.
You should also look at the others, especially the pragam patch which fixes
the currently broken code.
Regards,
Mumit
---8<---


=========================================================================

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic