On 3/24/2012 12:07 PM, 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?

I saw this sort of behavior in the auto-tester (was win7 at the time, now it's 
running on a windows server 2008 box)
during the various combinations of compilation options until I switched to 
adding a counter and a suffix to each
compilation output.  I don't recall there being a particular pattern to the 
failures (like being tied to array ops).

Later,
Brad

Reply via email to