Re: Controlling initialization order
Re: Controlling initialization order
- Subject: Re: Controlling initialization order
- From: David Catmull <email@hidden>
- Date: Tue, 25 May 2004 19:30:57 -0600
On May 25, 2004, at 11:05 AM, b.bum wrote:
The initialization order of C++ objects is unspecified across
"translation units" (effective oversimplification: across source
files). That CodeWarrior (or other IDE/compiler/linkers) guaranteed
the order based upon link order is a feature that isn't within the
specification.
I guess I've been living a sheltered life :) I settled for
restructuring my code.
I tried selecting the target and rearranging the files, but it's not
clear what that does. Maybe it determines the compilation order. The
odd thing is it wouldn't let me drag files to certain places in the
list.
Thanks to those who replied.
--
David Catmull
email@hidden
http://www.uncommonplace.com/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.