Author Topic: When an error has been solved, should the file be saved before re-compiling?  (Read 5345 times)

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Hello,

I have remarked a small issue (C::B rev1995, Windows XP SP2). When I compile a project and get one or more errors, I correct it/them and the I re-compile the project. The issue is that I still get the same error even if I have correct it. But if I save the modified file (toolbar-->save file icon), then it is OK. I am not sure if this is a desired behaviour or not, but in my case it lead to confusion.

Sometimes, I have also remarked that C::B ask me to save (or other) a modified file. But that file has not been modified. Anyway, C::B still asks until I say to not update it. Strange :?.

Thank you.

Best wishes,
Michael

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
I only noticed that with files that are not in the project (which is quite normal, though).
Do you experience it with project files, too?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Do you experience it with project files, too?

Yes. I have remarked the issue by working with a project file (practically never with files w/o project).

Michael

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
is the file with the error in the project. Example : might be a header file from outside the project (suppose you fixed a wx header ...)

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
is the file with the error in the project. Example : might be a header file from outside the project (suppose you fixed a wx header ...)

No. The file is in the project. I had this problem especially with header files, but I am not sure that the problem come from this (most of my errors where in the header files anyway :)).

Michael