On Sep 11, 2008, at 11:28 AM, Ed Immenschuh wrote:
Hello,
I'm relatively new programming ObjectiveC and Cocoa, and I'm trying
to add some C++ code to my existing ObjectiveC/Cocoa code using
Xcode 3.1. I have my C++ files in a separate .mm files (as the
documentation says to), and my C++ headers are in a xxx.h file. When
building the code, I keep getting my C++ 'class' and everything
associated with it as undefines. Is there some compiler flag I have
to set that is not being set automatically, or is there something
else I am not doing correctly?
Perhaps you need to extern "C" {} your prototypes? Objective-C, after
all, "is" C.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]