On Tuesday, 18 January 2022 at 16:43:52 UTC, H. S. Teoh wrote:
What's the dustmite command you used? In such cases, it's useful to check for this specific error message in your dustmite command, so that it doesn't reduce it past the actual problem case.


T

Yes, but the only thing I have to go on is dub reporting `-1073741819`, so I just made a script that grepped for that.

```
#!/bin/sh
dub.exe build --compiler=ldc2 2>&1 | grep "ldc2 failed with exit code -1073741819"
```

It was not unique enough an error and I ended up with some empty files that didn't import each other correctly.

```
source\kameloso\plugins\twitchbot\keygen.d(1,8): Error: module `kameloso.plugins.twitchbot` from file source\kameloso\plugins\twitchbot\base.d must be imported with 'import kameloso.plugins.twitchbot;'
[...]
ldc2 failed with exit code -1073741819.
```

Bypassing dub and calling the raw ldc command gives no output. What else can I do?

Reply via email to