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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 18 06:58:56 PDT 2013


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



--- Comment #11 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-10-18 06:58:53 PDT ---
(In reply to comment #10)
> (In reply to comment #9)
> > > The arguments are not copied.
> > 
> > I'm not seeing that:
> > 
> Yes, the C args are copied to the D args.
> But the C args themselves are not copied.
> If you run a custom C main this might cause problems but
> that is a programming error we don't need to fix.

But C libraries probably already expect this behavior. That's the only thing
cArgs is for really, to interface with those C libs.

-- 
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