On Saturday, 24 March 2012 at 19:08:00 UTC, Walter Bright wrote:
On 3/24/2012 11:55 AM, Walter Bright wrote:
I'm mystified. Does anyone have any ideas?
If I add a del test.exe to the cc.bat file:
--------------------
..\dmd test
test
del test.exe
..\dmd test
-------------------
It now fails with GetLastError() of 5, meaning "Access is
denied."
The cc.bat file has to be executed repeatedly for this to
happen.
I wonder if it may have something to do with the operating
system delayed writes?
If you have an antivirus, try disabling it before compiling.