Mail Archives: cygwin-developers/1998/04/29/22:37:07
jeffdbREMOVETHIS AT goodnet DOT com (Mikey) writes:
>
> #define PCC_BITFIELD_TYPE_MATTERS 0
> this was defined in the emx port, and the guy apparently
> knows what he is doing with structure alignment.
> ( I couldn't run the test at the end because I don't have cl.exe :)
> If this is handeled somewhere else in the gcc config files,
> I couldn't find it.
Mikey, good catch! Here's what I get from GCC and MSVC4:
$ ./bitpack-gcc.exe
Size of foo1 is 2
Size of foo2 is 5
$ ./bitpack-msvc4.exe
Size of foo1 is 2
Size of foo2 is 2
Mumit
ps: I still haven't had time to look at your latest ld patches. Sorry.
- Raw text -