• 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: Best way to get warnings for 10.5 only calls?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to get warnings for 10.5 only calls?


  • Subject: Re: Best way to get warnings for 10.5 only calls?
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 30 Jan 2008 21:17:49 -0700


On Jan 30, 2008, at 2:29 PM, Knowledge Engineering wrote:

(2) Similar question as relates to "64 bit clean" calls. Is there a "Carbon Dater"-style tool that will help pinpoint 64-bit gotchas?


Just do what I do:
1. Turn on the warning that shows where 64-bit values are being truncated into 32-bit spaces. This was added to Xcode 3.
2. Build for either ppc64 or x86_64.


You'll get warnings where you're doing stuff you shouldn't be doing (such as using int instead of NSInteger or CFIndex, unsigned int instead of size_t, etc.), and either warnings or errors when you're calling functions/methods that were removed from the 64-bit frameworks.

Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request




_______________________________________________ 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: 
 >Best way to get warnings for 10.5 only calls? (From: Knowledge Engineering <email@hidden>)

  • Prev by Date: Re: Xcode 3.0 file trashing situation
  • Next by Date: Line-number references wrong by several lines
  • Previous by thread: Re: Best way to get warnings for 10.5 only calls?
  • Next by thread: re: Best way to get warnings for 10.5 only calls?
  • Index(es):
    • Date
    • Thread