This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tuesday 02 June 2009 22:01:18 David Hagood wrote: > You really cannot count upon the execution order of constructors across > compilation units. All that is guaranteed is that within one compilation > unit (one source file) the constructors will execute in order. When you > are dealing with more than one compilation unit - all bets are off: all > that is guaranteed is that all static constructors will be called before > main is called, but in what order? No guarantees. that is true in the classical sense, but not with prioritized constructors that exists now in gcc/glibc. -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |