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

Re: strange build issue


  • Subject: Re: strange build issue
  • From: Greg Guerin <email@hidden>
  • Date: Thu, 22 Nov 2007 11:17:12 -0700

eric.bachard wrote:

>All devs whom I asked don't know what happens, since nobody found any
>syntax error, and the diff of the sources between Intel and PowerPC
>version is empty :/
>
>Any idea, or suggestion ?  What can be different in XCode for PowerPC,
>means not in Intel version ?

Without looking at your project, this springs to mind:
  Conditional compilation, triggered by target-specific pre-definitions.

Conditional compilation means #if or #ifdef source lines.

Target-specific pre-definitions means predefined pre-processor names or
macros that are in turn used by one or more #if or #ifdef statements in the
source.  On a command-line, that would be -Dfoo=bar and similar options, or
compiler-builtin predefines.

There's more to a build than just the source files.  If I had this problem,
I'd configure the build to keep the pre-processed files, then diff those,
focusing on the source file where the error occurs.  It could be at the
line in the error message, or it could be some distance before it.

  -- GG


 _______________________________________________
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

  • Prev by Date: Re: Build problem (again)
  • Next by Date: IB snap guides off by 1 pixel?
  • Previous by thread: strange build issue
  • Next by thread: How do you force an Xcode C++ tool to statically link to a library?
  • Index(es):
    • Date
    • Thread