ldc2 failed with exit code -1073741819.

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Jan 18 17:37:27 UTC 2022


On Tue, Jan 18, 2022 at 05:20:04PM +0000, Anonymouse via Digitalmars-d-learn wrote:
> 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.
[...]
> 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.
[...]
> Bypassing dub and calling the raw ldc command gives no output. What
> else can I do?

What does `echo $?` print immediately after you run the raw ldc command?


T

-- 
INTEL = Only half of "intelligence".


More information about the Digitalmars-d-learn mailing list