Re: Undefined Symbols when linking global logging function
Re: Undefined Symbols when linking global logging function
- Subject: Re: Undefined Symbols when linking global logging function
- From: David Dunham <email@hidden>
- Date: Wed, 16 Aug 2006 12:32:13 -0700
On 16 Aug 2006, at 12:07, Air Benzane wrote:
I'm developing a large application consisting of both C,C++ and
Objective-C++ sources. To help with debugging, all logging to the
console is handled by a very simple utility file:
This works fine in the development build, but when I try a release-
build with XCode 2.2 (GCC 4.0), I get this error:
Undefined symbols:
WriteToLog(char const *)
_writeToLog
collect2: Id returned 1 exit status
Is this a C function used in C++ code? You might want to wrap the
definition with
extern "C" {
}
------------
David Dunham email@hidden http://www.pensee.com/dunham/
"No matter how far you have gone on a wrong road, turn back." -
Turkish proverb
_______________________________________________
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