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: nob...@puremagic.com ReportedBy: zan77...@nifty.com --- Comment #0 from SHOO <zan77...@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: -------