Re: ld: duplicate symbol
Re: ld: duplicate symbol
- Subject: Re: ld: duplicate symbol
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 30 Sep 2008 13:01:25 -0600
On Sep 30, 2008, at 12:21 PM, Claus Atzenbeck wrote:
int CAPersonSwitchKey = 0;
Making this static solved the problem.
Usually the way you do this is to declare it as an extern in the
headers, then give it a concrete definition in the source somewhere.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden