[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 145687] Makeactionfilter fails to parse compiler build output
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2007-05-25 1:26:56
Message-ID: 20070525012656.14564.qmail () ktown ! kde ! org
[Download RAW message or body]
------- 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=145687
apaku gmx de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From apaku gmx de 2007-05-25 03:26 -------
SVN commit 668073 by apaku:
Use file extension for finding source files that are compiled, patch from Heiko \
Gerdau, thanks. BUG:145687
M +5 -3 makeactionfilter.cpp
--- branches/KDE/3.5/kdevelop/parts/outputviews/makeactionfilter.cpp #668072:668073
@ -72,9 +72,7 @
MakeActionFilter::ActionFormat* MakeActionFilter::actionFormats()
{
static ActionFormat formats[] = {
- ActionFormat( i18n("compiling"), 1, 2, "(gcc|CC|cc|distcc|c\\+\\+|g\\+\\+)\\S* \
(?:\\S* )*-c (?:\\S* )*`[^`]*`(?:[^/\\s;]*/)*([^/\\s;]+)"),
- ActionFormat( i18n("compiling"), 1, 2, "(gcc|CC|cc|distcc|c\\+\\+|g\\+\\+)\\S* \
(?:\\S* )*-c (?:\\S* )*-o (?:\\S* )(?:[^/;]*/)*([^/\\s;]+)"),
- ActionFormat( i18n("compiling"), 1, 2, "(gcc|CC|cc|distcc|c\\+\\+|g\\+\\+)\\S* \
(?:\\S* )*-c (?:\\S* )*(?:[^/]*/)*([^/\\s;]*)"), + ActionFormat( i18n("compiling"), \
1, 2, "(?:^|[^=])\\b(gcc|CC|cc|distcc|c\\+\\+|g\\+\\+)\\s+.*-c.*[/'\\\\]+(\\w+\\.(?:cpp|CPP|c|C|cxx|CXX|cs|java|hpf|f|F|f90|F90|f95|F95))"),
ActionFormat( i18n("compiling"), 1, 1, "^compiling (.*)" ), //unsermake
ActionFormat( i18n("compiling"), 1, 1, "\\[.+%\\] Building .* object (.*)" ), \
//cmake
@ -172,6 +170,10 @
"g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG \
-I/home/john/src/kde/qt-copy/mkspecs/default -I. " \
"-I/home/john/src/kde/qt-copy/include -o test.o test.cpp", "compiling", "g++", \
"test.cpp" ) + << TestItem( // simple qmake compile different option order
+ "g++ -c -o test.o -pipe -Wall -W -O2 -DQT_NO_DEBUG \
-I/home/john/src/kde/qt-copy/mkspecs/default -I. " \
+ "-I/home/john/src/kde/qt-copy/include test.cpp", + "compiling", "g++", "test.cpp" \
) << TestItem( // simple qmake link
"g++ -o ../bin/test test.o -Wl,-rpath,/home/john/src/kde/qt-copy/lib \
-L/home/john/src/kde/qt-copy/lib " "-L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm",
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic