I use the Pelles compiler for the software that operates our Airflow machines.
I'm on this compiler for several hours everyday and have been using it for years and once in a great while I'll loose ability to save a source code file when some obscure message pops up and refuses to save just one file.
I know I'm being vague about this, I'd like to show you the actual error message but I don't have it at the moment. Also, this only reoccurs after a few months.
If the file is plain text, I can use the copy/paste buffer and save it via notepad to get around the problem when it occurs. Then re-add it to the project when Pelles-C is restarted. This is my general workaround.
If the file is a resource file and I'm in the Resource Editor (which is where it occurs more often), I can sometimes save the file as a different filename and get around it.
Also when this occurs, I transfer the resource.h file to copy/paste on notepad as well, sometimes I'll loose the entire resource file and have to go to a backup.
These are annoying but doesn't happen very often, I backup often anyway. Next time I will try to get the message that accompanies the problem.
I still like this compiler more than any other.