Re: Methods calling C functions
Re: Methods calling C functions
- Subject: Re: Methods calling C functions
- From: "Corey O'Connor" <email@hidden>
- Date: Sun, 19 Jun 2005 21:06:49 -0700
On 6/19/05, Lee Morgan <email@hidden> wrote:
>
> I've tried, I get the following error when I call the function
>
> ZeroLink: unknown symbol '_LMTimeLog'
>
> - Lee
Could be due to a few things,
1) You are not compiling the .c file LMTimeLog(<whatever>) is defined
in, but including the header file that declared LMTimeLog.
2) Or, LMTimeLog is in a .cpp file and is being called from a .m file.
This would create different symbols for the "same" function. Which
would result in a link error. Or some other method LMTimeLog would be
declared as a C function but compiled as a C++ function.
--
-Corey O'Connor
_______________________________________________
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