On Fri, 22 Oct 2004, Dave Aubin wrote:
I don't know if this is your problem or not, but I have seen Issues when using #if 0 or #ifdef <something no set> causing Alignment issues. What you co do is run the file through the Pre-procesor to generate output as what the compiler sees and then Use this as your source. Windows .net actuality is the one I've Seen this alignment issue with. That might be it.
I think it's an actual thing a compiler supports or does not. The Xen guy was horrified that 8c didn't just support it ... "how do you write drivers" etc.
Here's where I put in some obligatory old-fart reminiscence about V6 C and how it laid out structs but I'm too tired to do it.
ron