`exit status -1073741819` while compiling for ESP8266

There was a previous report about this error here:

The Arduino developer provided advice there:

it looks like a Windows10 filesystem error (Redirecting) . Try running sfc /scannow in an Admin command shell to try fixing the filesystem.