RE: Different structure sizes
RE: Different structure sizes
- Subject: RE: Different structure sizes
- From: Jeff Laing <email@hidden>
- Date: Wed, 14 Dec 2005 12:21:03 +1100
> > The test app was printing 8 and the kext 6 as detailed earlier for
> > sizeof(PadState). I thought I had stated that earlier.
I've run into this sort of problem before (on another operating system -
cough) and it came down to the header files you had included.
I will bet London to a brick that you have a different structure packing
value being left "current" depending on what headers you include, and that
the fix will be to put the appropriate #pragma (or whatever it is on OSX,
I'm away from my mac at the moment) to explicitly specify the packing you
want immediately above your structure.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden