Re: Cocoa Classes from C++?
Re: Cocoa Classes from C++?
- Subject: Re: Cocoa Classes from C++?
- From: Stefan Werner <email@hidden>
- Date: Tue, 27 May 2008 17:35:13 -0700
On May 27, 2008, at 4:50 PM, Todd Heberlein wrote:
The gotchas that I often run into are: (1) Changing an Objective-C
file to an Objective-C++ object (by renaming it to a .mm file) often
causes me to rename a lot of files to .mm, because if the Objective-
C class definition has a C++ object in it, every source code file
that includes that Objective-C class definition needs to be renamed
to a .mm file;
The .mm suffix is not a necessity. You can also set GCC_INPUT_FILETYPE
in Xcode or use -x objective-c++ as gcc argument and leave the file
names as they are.
-Stefan
_______________________________________________
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