Re: Why can't my X-Code find this file
Re: Why can't my X-Code find this file
- Subject: Re: Why can't my X-Code find this file
- From: Eric Albert <email@hidden>
- Date: Wed, 8 Mar 2006 20:03:56 -0800
On Mar 8, 2006, at 7:45 PM, John Draper wrote:
In a lot of other files I've imported from Linux code,
I can do this...
#include <string>
And in all other files it compiles just fine, except this one...
/usr/bin/gcc-3.3 -x objective-c
<string> is a C++ header, but you're compiling this file as Objective-
C. The easiest fix is to rename the file to have a '.mm' extension,
which makes it Objective-C++.
Hope this helps,
Eric
_______________________________________________
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