[Issue 17860] New: some code exaples from site doesn't build on Visual Studio 2010 (and probably at all)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 26 20:21:21 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17860

          Issue ID: 17860
           Summary: some code exaples from site doesn't build on Visual
                    Studio 2010 (and probably at all)
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: maxim.k.elasnce at gmail.com

Created attachment 1660
  --> https://issues.dlang.org/attachment.cgi?id=1660&action=edit
Output of this trash

I've tried 
some exaples like this
void main()
{
    import std.exception, std.stdio, std.process;

    auto result = ["whoami"].execute;
    enforce(result.status == 0);
    result.output.write;
}
And they doesn't work.

--


More information about the Digitalmars-d-bugs mailing list