Re: getting undefined symbol when I do not initialize global variable
Re: getting undefined symbol when I do not initialize global variable
- Subject: Re: getting undefined symbol when I do not initialize global variable
- From: Dave Keck <email@hidden>
- Date: Mon, 19 Oct 2009 00:46:47 -1000
If I had to guess, I'd say you have some combination of extern symbols
declared in a header that aren't defined in an implementation, and
when you initialize the variables, the compiler ignores the 'extern.'
I wouldn't be surprised if you were getting a related compiler warning
somewhere...?
Standard debug tactics apply, though: whittle down your project to the
smallest amount possible while still displaying the problem. If that
process itself doesn't illuminate the issue, post the example project.
It's hard (for me, at least) to say why this might be happening
without seeing some example code.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden