Re: [SOLVED] Compile fails in one project, succeeds in twin
Re: [SOLVED] Compile fails in one project, succeeds in twin
- Subject: Re: [SOLVED] Compile fails in one project, succeeds in twin
- From: Rick Mann <email@hidden>
- Date: Sat, 14 Nov 2009 00:18:05 -0800
The lack of a #include <TargetConditionals.h> in one of the project's
precompiled header prevented it from defining TARGET_OS_IPHONE for C++
files, and that kept it from including the Core Graphics header.
Problem solved.
On Nov 13, 2009, at 23:59:40, Rick Mann wrote:
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
_______________________________________________
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