[Issue 11149] Runtime.args no longer available in static constructors.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 14 03:50:30 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11149
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|nobody at puremagic.com |code at dawg.eu
--- Comment #8 from Martin Nowak <code at dawg.eu> 2013-10-14 03:50:27 PDT ---
(In reply to comment #7)
> It's not reflected since a copy is made in _d_run_main. But I guess this should
> be documented.
The arguments are not copied.
> This is a regression caused by moving the module initialization into C's
.ctor/.dtor sections.
Other than poking around in glibc's internals we can only resolve this issue
by delaying D's initialization until C's main again.
I'll look into this.
--
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