https://issues.dlang.org/show_bug.cgi?id=18172
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P4
--
https://issues.dlang.org/show_bug.cgi?id=18172
--- Comment #11 from Jack Stouffer ---
(In reply to Walter Bright from comment #10)
> (In reply to Jack Stouffer from comment #7)
> > I should have emphized more the fact that I had already modified getopt.
> > I've attached my changes as a patch
>
https://issues.dlang.org/show_bug.cgi?id=18172
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #10 fro
https://issues.dlang.org/show_bug.cgi?id=18172
--- Comment #9 from Seb ---
> then I get linker errors about stuff in std.conv being undefined, but there
> are no more errors from the compiler itself. I think that that happens
> sometimes when some code is compiled with -dip1000 and some without
https://issues.dlang.org/show_bug.cgi?id=18172
--- Comment #8 from Jonathan M Davis ---
(In reply to Jack Stouffer from comment #7)
> I should have emphized more the fact that I had already modified getopt.
> I've attached my changes as a patch
Without compiling with -dip1000, nothing will be fi
https://issues.dlang.org/show_bug.cgi?id=18172
--- Comment #7 from Jack Stouffer ---
(In reply to Jonathan M Davis from comment #5)
> You have to compile with -dip1000, which Phobos isn't right now. If I try it
> locally with -dip1000, I get
>
> q.d(10): Error: scope variable f assigned to non-s
https://issues.dlang.org/show_bug.cgi?id=18172
Jack Stouffer changed:
What|Removed |Added
Attachment #1683|application/mbox|text/plain
mime type|
https://issues.dlang.org/show_bug.cgi?id=18172
--- Comment #6 from Jack Stouffer ---
Created attachment 1683
--> https://issues.dlang.org/attachment.cgi?id=1683&action=edit
getopt.patch
--
https://issues.dlang.org/show_bug.cgi?id=18172
--- Comment #5 from Jonathan M Davis ---
You have to compile with -dip1000, which Phobos isn't right now. If I try it
locally with -dip1000, I get
q.d(10): Error: scope variable f assigned to non-scope parameter _param_3
calling std.getopt.getopt!(s
https://issues.dlang.org/show_bug.cgi?id=18172
--- Comment #4 from Jack Stouffer ---
(In reply to Jonathan M Davis from comment #3)
> I'd suggest looking into how DIP 1000 can fix this problem without needing
> ref, since with DIP 1000, taking the address of a local variable isn't
> necessarily @
https://issues.dlang.org/show_bug.cgi?id=18172
Jonathan M Davis changed:
What|Removed |Added
CC||issues.dl...@jmdavisprog.co
https://issues.dlang.org/show_bug.cgi?id=18172
--- Comment #2 from Jack Stouffer ---
Actually the problem is way worse. Consider
string file1 = "file.dat";
string file2 = "file2.dat";
getopt(args, "file1", "info about arg", file1,
"file2", file2);
It's actually, not pract
https://issues.dlang.org/show_bug.cgi?id=18172
Jack Stouffer changed:
What|Removed |Added
Keywords||safe
CC|
https://issues.dlang.org/show_bug.cgi?id=18172
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/sh
14 matches
Mail list logo