[Bug 67877] compile file command compiles the last saved file, not the currently viewed one

nick smethurst nick.smethurst at free.fr
Tue Nov 11 13:59:04 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=67877     




------- Additional Comments From nick.smethurst at free.fr  2003-11-11 13:56 -------
Some more information:

When saving a cpp file then clicking the tab of another, the 'Compile file' command compiles the previously saved file instead of the currently focussed one.

When saving a cpp file then clicking the tab of another and modifying the file, the 'Compile file' command compiles the currently focussed file (thus it works correctly). This is presumably because it autosaves the file first.

Thus if one has a set of files like:

base.h
base.cpp
derived.h
derived.cpp

where derived.cpp is dependant on base.h, if base.h is modified (and possibly saved) and then the derived.cpp file tab is clicked, a subsequent 'Compile file' command will compile base.cpp and not derived.cpp.




More information about the KDevelop-devel mailing list