<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>Hi,<br></p><blockquote type="cite"><p>On March 1, 2016 at 2:40 PM Milian Wolff <mail@milianw.de> wrote:<br><br><br>On Tuesday, March 1, 2016 9:19:30 AM CET Erik Rull wrote:</p><blockquote type="cite"><p>Hi all,<br><br>this seems to be a bug:</p></blockquote><p>Yes, please make sure to report it on our bug tracker at bugs.kde.org.<br></p><blockquote type="cite"><p>My project is up to date and make tells me that there is nothing todo.<br>Then I start kdevelop and let the background parser do his work.<br>Then I just call make on the command line and get errors because files are<br>changed and now corrupted that should not be changed.<br>I have some more or less ancient .d files that tell make further<br>dependencies on what to do and they get modified by kdevelop!<br><br>Why? And how can I stop that?</p></blockquote><p>Very good question :) First things first:<br><br>a) what version of KDevelop are you using?</p></blockquote><p>Kdevelop 4.6.0 on KDE 4.13.3 (available via Kubuntu 14.04)<br></p><blockquote type="cite"><p>b) what project manager are you using? Custom Make? Assuming the latter, then</p></blockquote><p>Yes.<br></p><blockquote type="cite"><p>c) I have the gut feeling that our makefileresolver.cpp code is to blame. Try <br>disabling it by returning early before m_resolver->resolveIncludePath is used <br>in custommakemanager.cpp.</p></blockquote><p>Errr - I didn't want to recompile it...<br></p><blockquote type="cite"><blockquote type="cite"><p>The modification is really bad, the file gets corrupted and causesrecompiles at positions that were actually not really modified by me. Even<br>worse: The files are corrupted in a way that the compiler stops with an<br>error!</p></blockquote><p>Yes, I agree. Just note that we do not write to these files directly. Probably <br>it's some external tool that we invoke which triggers the writes. Just as bad, <br>but wanted to mention this to give a perspective.<br></p><blockquote type="cite"><p>Example of a "good" file before kdevelop was started:<br>common/ArgumentList.o common/ArgumentList.d : common/ArgumentList.cpp<br>common/ArgumentList.h \<br> common/STL.h common/Tools.h common/Thread.h common/Time.h common/Log.h \<br> common/XWare.h<br><br>And after the modification:<br>common/ArgumentList.o common/ArgumentList.d : common/ArgumentList.cpp<br>common/ArgumentList.h \<br> common/STL.h common/Tools.h common/Thread.h common/Time.h common/Log.h \<br> common/XWare.h<br>ommon/Log.h \<br> common/XWare.h<br><br>Please let me know how to stop that. Kdevelop 3.5 never showed that issue.<br><br>When kdevelop is running and I cleaned up the bad files and recreated them<br>then everything is fine until the next kdevelop (re-)start.<br>I explicitly excluded *.d in the Kdevelop project pattern configuration.</p></blockquote><p>Excluding these files probably doesn't matter, see above.</p></blockquote><p>I will try to track the access of the file and try to find the culprit that modified it...<br></p><blockquote type="cite"><p><br>Cheers<br>-- <br>Milian Wolff<br>mail@milianw.de<br>http://milianw.de</p></blockquote></body></html>