digitalmars.D.bugs - [Issue 6887] New: Regression of getopt
- d-bugmail puremagic.com (33/33) Nov 03 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6887
- d-bugmail puremagic.com (13/13) Nov 03 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6887
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 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: -------
Nov 03 2011
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 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: -------
Nov 03 2011