Re: Different structure sizes
Re: Different structure sizes
- Subject: Re: Different structure sizes
- From: Cameron Hayne <email@hidden>
- Date: Wed, 14 Dec 2005 21:12:51 -0500
On 14-Dec-05, at 3:45 AM, Frederick Cheung wrote:
PadState contains 8 UInt8, so packing or not there's no way
sizeof(PadState) should be less than 8, unless I am missing something
Maybe there is some other header file that defines PadState
differently (such that the size is 6) and this other header is
somehow getting used when you compile the kernel module.
Try inserting a deliberate syntax error into the PadState header
file, then verify that the syntax error occurs when compiling the
source file where you print out the size of PadState in the kernel
module.
--
Cameron Hayne
email@hidden
_______________________________________________
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