Re: Framework issues
Re: Framework issues
- Subject: Re: Framework issues
- From: Phil Ershler <email@hidden>
- Date: Tue, 22 Mar 2005 17:33:23 -0700
Oh good gosh you're right. The interesting thing is the project that worked had the file with a .M extension. When I changed my file to .M it still didn't work, but when I changed it to .mm, things compile fine. By the way the main.m file was from a quick test. Is there some preference somewhere in X-Code that defaults the compiler to be used. I would think that if I started a new Cocoa application (from X-Code's templates) and then asked Interface Builder to create my initial files, they would default to Objective-C. I guess not. I got the same (undesireable) results from having files created from Interface Builder (the resulting files have a .m extension).
Thanks for your time,
Phil Ershler
P.S. I'm honored to have my stupid question answered by someone of your stature! Your signature must be inside my Mac Plus somewhere.
On Mar 22, 2005, at 4:38 PM, Chris Espinosa wrote:
On Mar 22, 2005, at 3:27 PM, Philip Ershler wrote:
OK, consider my "hand slapped". I have moved the framework into /Library/Frameworks. This has not changed the behavior (didn't really expect it to). Also, for some additional info I am running X-Code 1.5 on 10.3.8. Here is some more information of the errors that I get when I
<snip>
You're trying to compile C++ code as Objective-C. The "namespace" directive does not exist in Objective-C.
Best to change your main to a ".mm" file.
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
_______________________________________________
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