Re: Xcode Tiger to Leopard duplicate symbols mystery
Re: Xcode Tiger to Leopard duplicate symbols mystery
- Subject: Re: Xcode Tiger to Leopard duplicate symbols mystery
- From: Joel Norvell <email@hidden>
- Date: Wed, 31 Oct 2007 15:24:55 -0700 (PDT)
Kyle,
Thanks for this explanation!
I have the application working in Leopard now :-)
Sincere regards,
Joel
--- Kyle Sluder wrote:
> You really can't do that, for the same reason that you can't #include
> "SomeClass.cpp" from SomeOtherClass.cpp. ld will try to link your
> object files together and complain when both SomeClass.o and
> SomeOtherClass.o declare the same symbol.
>
> Static class variables shouldn't require you to #import the .m file.
> Static globals, on the other hand, can be declared "extern" in the
> client file, and ld will find the declaration at link time.
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.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