• 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
Compile fails in one project, succeeds in twin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compile fails in one project, succeeds in twin


  • Subject: Compile fails in one project, succeeds in twin
  • From: Rick Mann <email@hidden>
  • Date: Fri, 13 Nov 2009 23:59:40 -0800

I have two branches of the same project. Up until fairly recently both compiled just fine. Now the branch representing the earlier version of my project (and hence, the one that hasn't been used as much), won't compile a set of C++ files (this is an iPhone app).

In one project, the C++ file (a wrapper for CGPoint, implemented by subclassing CGPoint) compiles just fine. In the other project, it gets a pile of syntax errors beginning with "expected class-name before '{' token" on the class declaration's opening brace.

I have searched for any kind of difference I can find between the two projects, and nothing stands out. One project is one level deeper than the other in the file system hierarchy, and the files in question are outside of both. That is to say, the path from one project to the troublesome files is one path segment longer than the other.

I've even compared the two compiler invocations:

	http://pastie.org/private/nba82akhle82tna7vg7pcq

Nothing would indicate why one succeeds where the other fails. Any ideas? I'm sure it's something blatantly wrong, staring me in the face, but I just don't see it.

Thanks much!

--
Rick




_______________________________________________ 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: Compile fails in one project, succeeds in twin
      • From: Ken Thomases <email@hidden>
    • Re: [SOLVED] Compile fails in one project, succeeds in twin
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: LSOpenFromURLSpec() returns -10825 on Tiger
  • Next by Date: Re: [SOLVED] Compile fails in one project, succeeds in twin
  • Previous by thread: Re: Setting Xcode fonts and sizes
  • Next by thread: Re: [SOLVED] Compile fails in one project, succeeds in twin
  • Index(es):
    • Date
    • Thread