Re: Compiler error on NSAddImage call
Re: Compiler error on NSAddImage call
- Subject: Re: Compiler error on NSAddImage call
- From: Scott Tooker <email@hidden>
- Date: Thu, 6 Nov 2003 00:06:44 -0800
If you are using a native target, you can set '-x c++' in the "Build"
tab for a given file.
In the next release we want to provide a way to tell Xcode "treat this
file as this filetype" which would do the same thing, but be understood
by all of Xcode instead of just the compiler.
Scott
On Nov 5, 2003, at 11:48 PM, Randy Croucher wrote:
>> Does your file have a suffix .c or .cpp ?
>> In C, you need to use the two word name for the type:
>> struct mach_header
>
> That was it, I was just coming to post that I found it, and I saw your
> reply. Thank you.
>
> Is there an option in Xcode to force C++ compilation of .c files? I
> had this option on in CodeWarrior.
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.