• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Different structure sizes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >RE: Different structure sizes (From: Jeff Laing <email@hidden>)
 >Re: Different structure sizes (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: avoid space in path names
  • Next by Date: Sampler tool: attaching a process which will be launched by another process
  • Previous by thread: Re: Different structure sizes
  • Next by thread: gxx_personality_v0
  • Index(es):
    • Date
    • Thread