• 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: GetAliasSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GetAliasSize


  • Subject: Re: GetAliasSize
  • From: Steve Mills <email@hidden>
  • Date: Mon, 16 Jan 2006 11:56:55 -0600

Hmm. What's the correct way to test the current architecture in a pch file? I have:

#if arch == i386
	#warning "max 10.4"
	#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_4
#else
	#warning "max 10.3"
	#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_3
#endif

When I look at the build transcript for a file when building my Debug config (which only has one architecture; ppc) it says "-arch ppc". Yet the preprocessor is saying that "arch == i386" is true, because I see "max 10.4" in the build transcript.

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/


_______________________________________________ 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
  • Follow-Ups:
    • Re: GetAliasSize
      • From: Eric Albert <email@hidden>
References: 
 >GetAliasSize (From: Steve Mills <email@hidden>)
 >Re: GetAliasSize (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: GetAliasSize
  • Next by Date: Re: Debugging Problems
  • Previous by thread: Re: GetAliasSize
  • Next by thread: Re: GetAliasSize
  • Index(es):
    • Date
    • Thread