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: John Draper <email@hidden>
- Date: Thu, 09 Mar 2006 00:31:56 -0800
Eric Albert wrote:
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
THATS IT - Thanx ever so much - See my next post for my Link errors please
You guys are great...
John
_______________________________________________
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