Re: Can't include objective c file in carbon project
Re: Can't include objective c file in carbon project
- Subject: Re: Can't include objective c file in carbon project
- From: Kurt Spaker <email@hidden>
- Date: Wed, 29 Oct 2008 15:15:00 -0400
- Organization: Asar Corporation
On Oct 29, 2008, Shawn Erickson wrote:
>> Yet NSCursorWrappers.m is being compiled as C++ and generating 1000s of
>> errors.
>
> In Xcode get info on the NSCursorWrappers.m file and see if you have
> changed the file type to C++ some how.
>
> You should see sourcecode.c.objc for Objective-C (.m)
The filetype is shown as sourcecode.c.objc.
Could there be a compiler flag included somewhere forcing the compiler to
treat this as C++? Any suggestions what to search for?
Also, is there an additional compiler flag I could set just for this file, to
force the compiler to treat it as ObjC, at least just to test?
Kurt
_______________________________________________
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