Re: ldc std.getopt

2015-04-29 Thread Laeeth Isharc via Digitalmars-d-learn
On Wednesday, 29 April 2015 at 20:45:26 UTC, Anon wrote: On Wednesday, 29 April 2015 at 19:43:44 UTC, Laeeth Isharc wrote: I get the following errors under LDC (this is LDC beta, but same problem under master) although the code compiles fine under DMD. Am I doing something wrong? The help g

Re: ldc std.getopt

2015-04-29 Thread Anon via Digitalmars-d-learn
On Wednesday, 29 April 2015 at 19:43:44 UTC, Laeeth Isharc wrote: I get the following errors under LDC (this is LDC beta, but same problem under master) although the code compiles fine under DMD. Am I doing something wrong? The help generating feature of std.getopt is new in 2.067. Use bran

ldc std.getopt

2015-04-29 Thread Laeeth Isharc via Digitalmars-d-learn
When building the following (reduced by hand - I hope I didn't take out something useful when doing so): import std.stdio; import std.getopt; int main(string[] args) { string apiKey; string startCode; bool reverseOrder=false; bool noReverse=false; auto h