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: static vars and templates



Yarden,

The Dec2002 devtools fix this problem. I completely understand about it being a headache, it was, but it's now fixed in the latest devtools. I can send you a test case if you want, which you can run to illustrate the problem (to see if it's the same problem you see -- it sounds like it is), and also to see that the Dec2002 devtools indeed solve it. Praise Apple!

Regards,

John

my problem is with a template function which contains a static var.
if the function is called more then once then the linker complains about
multiple defined variable. I assume its a result of the .dylib not allowing
to put variables in a common area but that it only a wild guess.

Falling You - exploring the beauty of voice and sound
New EP, "hope thrown down," available now at
http://www.mp3.com/fallingyou
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: static vars and templates (From: Yarden Livnat <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.