Review Request: allow spaces in path in warnings

Bernd Buschinski b.buschinski at
Fri Oct 14 11:49:46 UTC 2011

This is an automatically generated e-mail. To reply, visit:

Review request for KDevelop.


This patch Fixes Bug 283722.

KDevelop is currently not abled to handle spaces in paths when showing warning in buildsubwindow.
The RegExp in outputfilters.cpp:19 does not allow spaces in path.
So for a path like "/a b c/test/main.cpp", it returns something like "c/test/main.cpp" which is just wrong. And is unabled to open the correct file.

NOTE: Since gcc-4.5 warnings are shown with coulmn by default, which triggers the regexp in line 19.
Older gcc, and gcc-4.5+ with -fno-show-column trigger regexp in line 21, which also disallows spaces in path.

This addresses bug 283722.


  projectbuilders/makebuilder/outputfilters.cpp 50fe0db 



Tested with common warnings like 
"/home/buscher/master2/Graphisch interaktive Systeme/Praktikum/pawbus/src/scheckerspawn.cpp:37:9: warning: unused variable 'i' [-Wunused-variable]"

and with -fno-show-column
"/home/buscher/master2/Graphisch interaktive Systeme/Praktikum/pawbus/src/scheckerspawn.cpp:37: warning: unused variable 'i' [-Wunused-variable]"


Bernd Buschinski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list