Re: Mixing obective-C and c++
Re: Mixing obective-C and c++
- Subject: Re: Mixing obective-C and c++
- From: David A Rowland <email@hidden>
- Date: Sat, 7 Apr 2007 09:18:51 -0700
At 6:03 PM +0200 4/7/07, Livio Isaia wrote:
Firstly, many thanks to everybody for helping.
So here is a new problem.
I have a ".c++" file with a procedure called from a ".m" file
(Cocoa). But XCode tells me "undefined symbol" when linking (I
turned off ZeroLink).
Let's say I have
theCFile.h declaring theCProcedure,
theCFile.c++ containing theCProcedure
and theCocoaFile.m calling theCProcedure.
All files are in the same project; when building everything seems
ok; I set "#include "theCFile.h"" in theCocoaFile.m; the target of
theCFile.c++ is the target application...
I shouldn't be surprised if it couldn't link with some libraries
called from theCFile.c++, but linking with theCFile.o?
Can you help some way?
Is it simply that the C++ name-mangling has changed the link name?
David
_______________________________________________
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