• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: getting undefined symbol when I do not initialize global variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >getting undefined symbol when I do not initialize global variable (From: rohan a <email@hidden>)

  • Prev by Date: getting undefined symbol when I do not initialize global variable
  • Next by Date: Re: Crash reporter starting stack trace
  • Previous by thread: getting undefined symbol when I do not initialize global variable
  • Next by thread: Re: getting undefined symbol when I do not initialize global variable
  • Index(es):
    • Date
    • Thread