November 03, 2011 [Issue 6887] New: Regression of getopt | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6887 Summary: Regression of getopt Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: regression Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: zan77137@nifty.com --- Comment #0 from SHOO <zan77137@nifty.com> 2011-11-03 07:22:42 PDT --- This code doesn't work! ( https://github.com/D-Programming-Language/phobos/commit/3d685801492f08d30dac3f4e099e09804d47c150 ) CODE: ----------------- import std.getopt; void main(string[] args) { string[] p; getopt(args, "p", &p); } ----------------- RESULT: ----------------- p:\winroot\dmd2\bin\..\import\std\getopt.d(511): Error: using * on an array is deprecated; use *(receiver[cast(uint)0]).ptr instead ----------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 03, 2011 [Issue 6887] Regression of getopt | ||||
---|---|---|---|---|
| ||||
Posted in reply to SHOO | http://d.puremagic.com/issues/show_bug.cgi?id=6887 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2011-11-03 09:25:20 PDT --- SHOO's pull request to fix this issue: https://github.com/D-Programming-Language/phobos/pull/312 https://github.com/D-Programming-Language/phobos/commit/035bda84963e75d8ce5ff987cc62f179675a7305 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation