Re: Help Mixing Objective-C & Objective-C++
Re: Help Mixing Objective-C & Objective-C++
- Subject: Re: Help Mixing Objective-C & Objective-C++
- From: Sean McBride <email@hidden>
- Date: Fri, 25 Feb 2011 09:45:25 -0500
- Organization: Rogue Research Inc.
On Fri, 25 Feb 2011 09:18:39 +0100, Jack Nutting said:
>I'd also like to toss in a sixth option: Tell Xcode to compile *all*
>your code in Objective-C++ mode!
I don't recommend that. For one, you loose the clang static analyzer,
which does not support C++. You also loose compilation speed (as you
said), there are subtle incompatibilities between C and C++, and you'll
loose/gain a few compiler warnings that are C-only or C++-only.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden