Re: xcode & c++ again
Re: xcode & c++ again
- Subject: Re: xcode & c++ again
- From: Scott Ribe <email@hidden>
- Date: Sun, 04 Mar 2012 07:34:58 -0700
I you include C++ headers into Objective-C, that's Objective-C++, and must be compiled as such--exactly as others have said.
On Mar 4, 2012, at 5:07 AM, Livio Isaia wrote:
> I apologize if this may be boring, only want to specify that the problems (error: expected '=', ',', ';', 'asm' or '__attribute__' before 'X3DBaseDataObject when compiling c++ file in mixed oobjective-c & c++ project) arise when I include (<#include "myFile.h">) the c++ file in other objective-c files in order to use the newly created classes. If I don't include it anywhere it compiles correctly, but I can't use the classes...
> I tried everything, but still can't resolve the matter.
>
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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