• 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: linker error nonsense?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linker error nonsense?


  • Subject: Re: linker error nonsense?
  • From: "Patrick J. Collins" <email@hidden>
  • Date: Tue, 27 Oct 2015 18:39:14 -0700 (PDT)
  • X_v_e_cd: 4641afde70064046dcd3ef22a133d662
  • X_v_r_cd: 3df9d38ef6a48ad8f8b3694ac5d3edc0

> That is because initializing static variables like that is only valid in C++, not in C.

I did not realize that...  What is the "proper" way to define constants
with NSStrings and NSNumbers as values in a non-c++ scenario?

Patrick J. Collins
http://collinatorstudios.com
 _______________________________________________
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


  • Follow-Ups:
    • Re: linker error nonsense?
      • From: Roland King <email@hidden>
References: 
 >linker error nonsense? (From: "Patrick J. Collins" <email@hidden>)
 >Re: linker error nonsense? (From: Kyle Sluder <email@hidden>)
 >Re: linker error nonsense? (From: "Patrick J. Collins" <email@hidden>)
 >Re: linker error nonsense? (From: Jens Alfke <email@hidden>)
 >Re: linker error nonsense? (From: "Patrick J. Collins" <email@hidden>)
 >Re: linker error nonsense? (From: Jens Alfke <email@hidden>)
 >Re: linker error nonsense? (From: "Patrick J. Collins" <email@hidden>)
 >Re: linker error nonsense? (From: "Clark S. Cox III" <email@hidden>)

  • Prev by Date: Re: linker error nonsense?
  • Next by Date: Re: linker error nonsense?
  • Previous by thread: Re: linker error nonsense?
  • Next by thread: Re: linker error nonsense?
  • Index(es):
    • Date
    • Thread