Review Request: allow spaces in path in warnings
Commit Hook
null at kde.org
Sat Oct 15 22:28:09 UTC 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102860/#review7360
-----------------------------------------------------------
This review has been submitted with commit 9551523c8634f158205b0c51570842e7cc70a349 by Bernd Buschinski to branch master.
- Commit Hook
On Oct. 14, 2011, 11:49 a.m., Bernd Buschinski wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102860/
> -----------------------------------------------------------
>
> (Updated Oct. 14, 2011, 11:49 a.m.)
>
>
> Review request for KDevelop.
>
>
> Description
> -------
>
> 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.
> http://bugs.kde.org/show_bug.cgi?id=283722
>
>
> Diffs
> -----
>
> projectbuilders/makebuilder/outputfilters.cpp 50fe0db
>
> Diff: http://git.reviewboard.kde.org/r/102860/diff/diff
>
>
> Testing
> -------
>
> 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]"
>
>
> Thanks,
>
> Bernd Buschinski
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20111015/52152022/attachment.html>
More information about the KDevelop-devel
mailing list