Re: Mixing C++ with Objective-C
Re: Mixing C++ with Objective-C
- Subject: Re: Mixing C++ with Objective-C
- From: Shawn Erickson <email@hidden>
- Date: Fri, 20 Jan 2006 11:50:43 -0800
On 1/20/06, email@hidden <email@hidden> wrote:
> When mixing C++ with Objective-C in a single project, is there ever a time
> the suffix for C++ is used or all source files must use the Objective-C suffix
> (.mm)
All files that contain objective-c/c++ code in them must end in ".mm"
to get the compiler called in the correct way. All other C++ files
that don't contain any objective-c can end in ".cpp" (or a few other
standard suffixes). Similarly any files that contain only objective-c
can end in ".m".
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden