Re: Re[2]: C++ Constructors on global vars not being run ?
Re: Re[2]: C++ Constructors on global vars not being run ?
- Subject: Re: Re[2]: C++ Constructors on global vars not being run ?
- From: Thomas Engelmeier <email@hidden>
- Date: Mon, 24 Sep 2007 18:21:48 +0200
On 24.09.2007, at 17:29, Peter Mulholland wrote:
Thanks for your comments.. i know it seems really odd...
[...]
My question now is, how do I force Xcode to link ALL object files
given to it, and not try to be clever ?
The C++ standard does not mandate the order of static initialisation.
Read up in the 2003 standard if it is guaranteed all static
initalizers run before main() is entered or only before the first non-
ctor line of code in the corresponding compile unit is executed.
_______________________________________________
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