Created attachment 64392 [details] quick fix, may be wrong Version: git master (using KDE 4.7.1) OS: Linux if you compile your c++ project and get a warning like: /home/yu/master2/Graphisch interaktive Systeme/Praktikum/src/sinputmanager.cpp:165:21: warning: unused variable 'k' [-Wunused-variable] and click on the warning, to get to the file, kdevelop won't open it Reproducible: Always Steps to Reproduce: - create a simple c++ app that gives warning, in a folder with spaces - compile it - click on the warning Actual Results: - nothing happens Expected Results: - the file should open and kdevelop should set the cursor to the correct line+column kdevelop/projectbuilders/makebuilder/outputfilters.cpp:19 << ErrorFormat( "([^: \t]+):([0-9]+):([0-9]+):([^0-9]+)", 1, 2, 4, 3 ) seem to be responsible for it, as with gcc-4.5 showing line number and column is default. So we always get 3 : (colon). The first part "([^: \t]+)" forbits spaces in paths, in fact the regexp returns something like "Systeme/Praktikum/src/sinputmanager.cpp" as file, which makes kdevelop things it is a relative path... and (short) all the crazy stuff happens. If you change the first part into "([^:\t]+)" (without the space), everything works fine. But as I don't know what kind of warnings gcc can give, I doubt that is the 100%+always correct solution.
I'd be OK with the change, anyone opposed? Bernd, just to make sure this gets enough coverage, please push a patch to git.reviewboard.kde.org thanks
After ok from reviewboard(102860), fixed with commit g9551523