We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Last night daylight savings started and my PC's clock automatically switched forward 1 hour. Now whenever I compile my project in the Keil IDE I get a warning saying that:
File has been changed outside the editor, reload? [Yes] [No]
This is happening on multiple files. No matter what I try, closing/reopening files, the IDE, even rebooting windows, I cannot make the IDE understand that the files are not actually changing.
The same thing happened last time daylight savings started but eventually "went away". I can't remember how long it took for the messages to stop appearing. I think it was about 24 hours.
Does anyone know how to stop the IDE from displaying this message - its very annoying.
Regards Paul
Paul:
I have no idea how to fix the IDE problem. Sorry. Not trying to be a wise guy, but I think that daylight savings time doesn't change until the end of the last Sunday of October (the 29th this year I think). Is your computer showing the right date (Oct. 1)?
If not, the fact that your computer's calendar is way off could be indicative of some other problem that is also affecting the toolchain. I'd keep an eye on the timestamps that the OS puts on your files as your working. To be honest, short of the battery that backs up the clock going dead, I've never heard of the RTC going bad. I think I might be starting to go way "off topic" here.......
Best Regards,
-=Rich=-
I couldn't help but notice the timestamp on your post (4:51 a.m.). Working hard at that early hour. On a Sunday no less! That is dedication dude. I have visions of jolt cola and oreos (and an era when people still used the word "dude"). I am duly impressed!
Hi Rich,
Thanks for the pointers, but Daylight savings did start last night, the first weekend in October. Well for us New Zealanders on the other side of the world it did anyway.
My PC clock is correct and all in working order. I guess the only real way for anyone else to test it is to have the IDE open when Windows adjusts the PC's clock for daylight savings starting.
I had *exactly* the same problem for a day or two after daylight saving started last year - but I did not say anything. Now that it has happened twice, I thought I'd better ask to see if this has happened to anyone else.
I did not notice this problem when Daylight savings ended earlier this year - but then I may not have been working at 2:00am then either.
P.S. It's just gone 2:20am here on Oct 2, yes lots of cola - lots of work...
Did you restart your computer already after the time change?
Yes I have rebooted numerous times, I have switched the PC off a few times. See my original description of the problem:
"...closing/reopening files, the IDE, even rebooting windows..."
In desperation, I have just (20 minutes ago) reinstalled V6.04a and selected the "do not keep existing settings" option during the install. So far I have not seen the message again. (fingers crossed).
Stay tuned, for this may happen again in October 2007 :)
"Not trying to be a wise guy, but I think that daylight savings time doesn't change until the end of the last Sunday of October"
Wouldn't that depend on which particular daylight-saving regime you're in...?
I think that was already established three replies ago
I'm not 100% positive, but I think the way I fixed that when it last happened to me was to delete all temporary files (object files, etc.) and do a build all.
"...delete all temporary files (object files, etc.) and do a build all"
Aha! What toolset are you using?
I remember other problems with C51 when using the "register colouring" optimisation - a 'Build All' doesn't clear all the workfiles, so the results of previous builds can still have an effect...
maybe this could also be related...?
DST ended here (EST5EDT) yesterday, and I'm also seeing random "file changed" messages. (A bit disturbing to me, since if something outside the IDE were mangling my source the last thing I would want to do is re-load it; but if I said No the IDE just asked me again a few seconds later.) I'm still seeing them this morning, even though the last-change time on the file is last night.
Rebuild All didn't seem to clear it up; I didn't find a "Clean" option.
Oh, well maybe (as someone up above said) it will clear itself up eventually.
Oh, I'm using uVision3 v3.33b (Eval).