[Issue 11149] Runtime.args no longer available in static constructors.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 25 09:18:35 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11149



--- Comment #21 from Jacob Carlborg <doob at me.com> 2013-10-25 09:18:34 PDT ---
(In reply to comment #20)
> At least on linux it is done from .ctor/.dtor functions that call
> _d_dso_registry.
> This is the similar to __attribute__((constructor))/__attribute__((destructor))
> functions.

How does the compiler make sure that the .ctor that initializes the runtime is
run before any user shared module constructors?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list