www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22020] New: The profile flag does not work in Windows.

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

          Issue ID: 22020
           Summary: The profile flag does not work in Windows.
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: lempiji gmail.com

I got an error when I ran it with the profile flag on Windows.

app.d:
```d
/+ dub.sdl:
    dependency "mir-algorithm" version="~>3.10.60"
+/
module app;

import std.stdio;
import mir.ndslice;

void main()
{
        auto s = iota(2, 3, 4);
        writeln(s);
}
```
run:
```
dub run --build=profile --single app.d
```

result:
```
Program exited with code -1073741819
```

--
Jun 13