• 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: multiple warnings/errors reported due to multiple architectures
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple warnings/errors reported due to multiple architectures


  • Subject: Re: multiple warnings/errors reported due to multiple architectures
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 31 Aug 2009 16:16:10 -0700


On Aug 31, 2009, at 4:07 PM, Tony Scaminaci wrote:

Xcode has been doing this for as long as I've been maintaining a multi-platform application. It does indeed perform multiple compiles, one for each hardware platform. It would be nice if the warnings were only issued once but consider that at some distant point in the future (5 years, 10 years?), we might be back to a single hardware platform and it won't be a problem any more :-) Learn to live with it in the meantime :-)

In the Xcode editor the warnings are consolidated into a single Message Bubble. They're still broken out in the Build Results because the Xcode build system does a full pass on all sources for each architecture before doing the next architecture, rather than processing the same file through three different compilers. This keeps the compiler code pages hot, reduces swapping, and results in faster builds, but it dies generate possibly redundant compiler messages physically distant from each other in the build log.


Since Xcode 3.0 most developers' Debug configurations have the Only Active Architecture build setting checked, so when you're in a rapid build/debug cycle you're only building the appropriate architecture for your build/debug machine, and you don't get redundant messages. On Release builds you will get them, but frankly, they're factual, and omitting them would be concealing information from you.

Chris
_______________________________________________
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: multiple warnings/errors reported due to multiple architectures (From: Tony Scaminaci <email@hidden>)

  • Prev by Date: Re: multiple warnings/errors reported due to multiple architectures
  • Next by Date: Re: multiple warnings/errors reported due to multiple architectures
  • Previous by thread: Re: multiple warnings/errors reported due to multiple architectures
  • Next by thread: Re: multiple warnings/errors reported due to multiple architectures
  • Index(es):
    • Date
    • Thread