Closed
Description
Tested with 1.0.5 on Windows.
To reproduce:
- Have a sketch.
- Create a file, let's call it "foo.h", in the sketch's directory.
- Add
#include "foo.h"
to the sketch. - Compile the sketch.
- Delete the file "foo.h".
- Compile the sketch again. If the bug is present, there is no error message despite the header file being deleted.
This happens because the Arduino IDE copies all source files to a temporary directory, reuses that directory and does not clear it of files that shouldn't be there.
On Windows 7, the temporary directory may be called something like "c:\Users\AppData\Local\Temp\build4632717550972951918.tmp".