Re: linker error nonsense?
Re: linker error nonsense?
- Subject: Re: linker error nonsense?
- From: "Patrick J. Collins" <email@hidden>
- Date: Tue, 27 Oct 2015 19:19:13 -0700 (PDT)
- X_v_e_cd: 4641afde70064046dcd3ef22a133d662
- X_v_r_cd: 3df9d38ef6a48ad8f8b3694ac5d3edc0
So what is my best course of action here?
I've got a 3 year old code-base (rather large), and I really don't want
to be going through file after file, fixing every little thing XCode
it complains about even though for the past 3 years it never complained
about any of this stuff...
Should I just convert all my .m's to .mm?
Patrick J. Collins
http://collinatorstudios.com
On Wed, 28 Oct 2015, Roland King wrote:
>
> > On 28 Oct 2015, at 09:39, Patrick J. Collins <email@hidden> wrote:
> >
> >> 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?
>
>
> Strings :
>
> NSString * MyConstantString = @“My Constant String Contents”;
>
> Numbers:
>
> you can't
_______________________________________________
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