Re: C++ compiler isn't being used
Re: C++ compiler isn't being used
- Subject: Re: C++ compiler isn't being used
- From: Steve Mills <email@hidden>
- Date: Wed, 24 Aug 2011 16:08:55 -0500
On Aug 24, 2011, at 15:52:57, Jocelyn Houle wrote:
> Probably because it wasn't compiling Obj-C++, but plain Obj-C.
> By default, .mm files are Obj-C++ and .m are Obj-C.
>
> For some reason, your "Compile Source As" setting didn't quite stick, and that's probably the root of the problem. Don't know why it wouldn't work, though...
>
> Note: struct is required in C, but not in C++ (a struct is effectively a class with everything public by default). When "struct" is required, you're not using a C++ compiler.
Yes, I know, which is why I'm asking about this. Looks like an Xcode or LLVM bug to me.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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