Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory debuggers for MacOS 10.3.9



assert() is your friend. You can also add things like "#if" to check the sizes of things at compile time. This is going to get really interesting on x86, I think.



On Oct 28, 2005, at 11:09 AM, Mark Wagner wrote:

Thanks.  I found the memory bug that's been plaguing me for some time:

CodeWarrior/CFM does not provide a "uint" type, so our code defines it

in a header file as being 16 bits.  GCC/Mach-O *does* provide it, so

our header file doesn't -- but it's now 32 bits.  Needless to say,

this causes problems when trying to load 16 bits of data from a binary

file.


Thanks,

Mark Wagner



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Memory debuggers for MacOS 10.3.9 (From: Mark Wagner <email@hidden>)
 >Re: Memory debuggers for MacOS 10.3.9 (From: Jonas Maebe <email@hidden>)
 >Re: Memory debuggers for MacOS 10.3.9 (From: "D. Walsh" <email@hidden>)
 >Re: Memory debuggers for MacOS 10.3.9 (From: Mark Wagner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.