Bug 59721 - Compiler output does not recognize gcc-3.2, g++-3.2, ...
Summary: Compiler output does not recognize gcc-3.2, g++-3.2, ...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Output Views (show other bugs)
Version: git master
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-13 14:36 UTC by Sylvain Joyeux
Modified: 2003-06-15 12:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Raw compiler output (1.62 KB, text/plain)
2003-06-13 17:28 UTC, Sylvain Joyeux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain Joyeux 2003-06-13 14:36:56 UTC
Version:           CVS of 09/06 (using KDE KDE 3.1.2)
Installed from:    Debian testing/unstable Packages

When using specific compilers (via the Compiler Command
of the compiler options dialog for instance), the output
is no more recognized by the regexps.
Comment 1 Harald Fernengel 2003-06-13 16:44:04 UTC
That works for me, can you attach the raw compiler output so we can check it? 
Comment 2 Sylvain Joyeux 2003-06-13 17:28:44 UTC
Created attachment 1783 [details]
Raw compiler output

In the same project, when compiled with gcc/g++ (and not gcc-3.2/g++-3.2), the
compiler output is parsed correctly
Comment 3 Harald Fernengel 2003-06-15 12:14:16 UTC
Subject: kdevelop/parts/outputviews

CVS commit by harald: 

Fix Bug 59721 (treat gcc-blah valid name for gcc)

CCMAIL: 59721-done@bugs.kde.org


  M +6 -6      makeactionfilter.cpp   1.15


--- kdevelop/parts/outputviews/makeactionfilter.cpp  #1.14:1.15
@@ -42,8 +42,8 @@ MakeActionFilter::ActionFormat* MakeActi
 {
         static ActionFormat formats[] = {
-                ActionFormat( i18n("compiling"), "g++", "g\\+\\+ (?:\\S* )*-c (?:\\S* )*`[^`]*`(?:[^/\\s;]*/)*([^/\\s;]+)", 1 ),
-                ActionFormat( i18n("compiling"), "g++", "g\\+\\+ (?:\\S* )*-c (?:\\S* )*(?:[^/]*/)*([^/\\s;]*)", 1 ),
-                ActionFormat( i18n("compiling"), "gcc", "g\\c\\c (?:\\S* )*-c (?:\\S* )*`[^`]*`(?:[^/\\s;]*/)*([^/\\s;]+)", 1 ),
-                ActionFormat( i18n("compiling"), "gcc", "g\\c\\c (?:\\S* )*-c (?:\\S* )*(?:[^/]*/)*([^/\\s;]*)", 1 ),
+                ActionFormat( i18n("compiling"), "g++", "g\\+\\+\\S* (?:\\S* )*-c (?:\\S* )*`[^`]*`(?:[^/\\s;]*/)*([^/\\s;]+)", 1 ),
+                ActionFormat( i18n("compiling"), "g++", "g\\+\\+\\S* (?:\\S* )*-c (?:\\S* )*(?:[^/]*/)*([^/\\s;]*)", 1 ),
+                ActionFormat( i18n("compiling"), "gcc", "g\\c\\c\\S* (?:\\S* )*-c (?:\\S* )*`[^`]*`(?:[^/\\s;]*/)*([^/\\s;]+)", 1 ),
+                ActionFormat( i18n("compiling"), "gcc", "g\\c\\c\\S* (?:\\S* )*-c (?:\\S* )*(?:[^/]*/)*([^/\\s;]*)", 1 ),
                 ActionFormat( i18n("compiling"), "distcc", "distcc (?:\\S* )*-c (?:\\S* )*`[^`]*`(?:[^/\\s;]*/)*([^/\\s;]+)", 1 ),
                 ActionFormat( i18n("compiling"), "distcc", "distcc (?:\\S* )*-c (?:\\S* )*(?:[^/]*/)*([^/\\s;]*)", 1 ),
@@ -51,6 +51,6 @@ MakeActionFilter::ActionFormat* MakeActi
                 ActionFormat( i18n("generating"), "uic", "/uic\\b.*\\s-o\\s([^\\s;]+)", 1 ),
                 ActionFormat( i18n("linking"), "libtool", "/bin/sh\\s.*libtool.*--mode=link .* -o ([^\\s;]+)", 1 ),
-                ActionFormat( i18n("linking"), "g++", "g\\+\\+ (?:\\S* )*-o ([^\\s;]+)", 1 ),
-                ActionFormat( i18n("linking"), "gcc", "g\\c\\c (?:\\S* )*-o ([^\\s;]+)", 1 ),
+                ActionFormat( i18n("linking"), "g++", "g\\+\\+\\S* (?:\\S* )*-o ([^\\s;]+)", 1 ),
+                ActionFormat( i18n("linking"), "gcc", "g\\c\\c\\S* (?:\\S* )*-o ([^\\s;]+)", 1 ),
                 ActionFormat( i18n("installing"), "", "^/(?:usr/bin/install|bin/sh\\s.*mkinstalldirs).*\\s([^\\s;]+)", 1 ),
                 ActionFormat( i18n("generating"), "dcopidl", "dcopidl .* > ([^\\s;]+)", 1 ),