DMD failed with exit code -1073741819

jmh530 john.michael.hall at gmail.com
Tue May 3 18:22:49 UTC 2022


I made some changes to some code I'm working on and now there are 
some lines that are giving me funky DMD error codes (I can tell 
it is some lines because I comment them out and the errors go 
away). So for instance, one line I have a static assert that 
gives an error code -1073741819, but if I split it up into two 
pieces (so that part of it is assigned to a value and then I use 
typeof that value in the static assert), then DMD does not 
complain. Does anyone have any idea what causes these types of 
errors?

I was leaning towards it being something related to running out 
of memory or something, but I'm using dub and I've tried turning 
on and off "lowmem".

I also have used -v both in dflags and at the command line and 
haven't noticed any obvious errors.


More information about the Digitalmars-d-learn mailing list