Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode Tiger to Leopard duplicate symbols mystery



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: Xcode Tiger to Leopard duplicate symbols mystery (From: "Kyle Sluder" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.