Bug 92566 - outputviews for intel fortran compiler
Summary: outputviews for intel fortran compiler
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.1.1
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 120350 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-02 11:23 UTC by gastineau
Modified: 2006-03-14 21:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch the file parts/outputviews/compileerrorfilter.cpp for Intel Fortran Compiler (ifort) (679 bytes, patch)
2005-07-21 21:45 UTC, Nicolas Bigaouette
Details
Support for Intel Fortran Compiler (ifort) and Portland Group's PGI Fortran compiler (pgf90/pgf95) outputview (702 bytes, patch)
2006-03-14 17:23 UTC, Nicolas Bigaouette
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gastineau 2004-11-02 11:23:21 UTC
Version:           3.1.1 (using KDE KDE 3.3.1)
Installed from:    Compiled From Sources
OS:                Linux

It will be great if kdevelop add ouputview filter for intel fortran compiler.

I  look in kdevelop sources and check syntaxes for output view filters.
The following line add filters for intel fortran compiler :

ErrorFormat( "fortcom: Error: (.*), line ([0-9]+):(.*)", 1, 2, 3, "intel" ),


This line must be added in the file 'parts/outputviews/compileerrorfilter.cpp' in the function 
CompileErrorFilter::ErrorFormat* CompileErrorFilter::errorFormats().

I tested this code with intel forttran compiler 8.1 on linux.
It will be great if it's added in  kdevelop sources for future releases.
Comment 1 Marek 2005-06-05 18:15:51 UTC
The same needs here. It will be really great help for "ifort" users.
Comment 2 Nicolas Bigaouette 2005-07-21 21:45:38 UTC
Created attachment 11870 [details]
Patch the file parts/outputviews/compileerrorfilter.cpp for Intel Fortran Compiler (ifort)

Patch created with gastineau's suggestion
Comment 3 Nicolas Bigaouette 2005-07-21 21:48:52 UTC
I forgot to mention the patch was created for KDevelop v3.2.1
Comment 4 Nicolas Bigaouette 2006-03-14 17:23:43 UTC
Created attachment 15116 [details]
Support for Intel Fortran Compiler (ifort) and Portland Group's PGI Fortran compiler (pgf90/pgf95) outputview

I don't know why this bug don't get many attention since patches has been
proposed...

Here is the same patch, but that include Intel Fortran Compiler (ifort) and
Portland Group's PGI Fortran compiler (pgf90/pgf95) for KDevelop v3.3.1.
Comment 5 Jens Dagerbo 2006-03-14 19:59:30 UTC
>I don't know why this bug don't get many attention since patches has been 
 proposed... 

My guess: There is no fortran maintainer. No one can evaluate the patches and decide if they make sense or not.
Comment 6 Nicolas Bigaouette 2006-03-14 20:07:29 UTC
Saddly it seem there's not enough fortran user...
At least the patch is there if someone need it...
Comment 7 Alexander Dymo 2006-03-14 20:53:14 UTC
SVN commit 518650 by dymo:

Applied path from Nicolas Bigaouette: Support for Intel Fortran Compiler
and Portland Group's PGI Fortran compiler (pgf90/pgf95) outputview.
BUG: 92566



 M  +6 -0      compileerrorfilter.cpp  


--- branches/kdevelop/3.4/parts/outputviews/compileerrorfilter.cpp #518649:518650
@@ -54,6 +54,12 @@
 		ErrorFormat( "\"(.*)\", line ([0-9]+):(.*)", 1, 2, 3 ),
 		// Jade
 		ErrorFormat( "[a-zA-Z]+:([^: \t]+):([0-9]+):[0-9]+:[a-zA-Z]:(.*)", 1, 2, 3 ),
+		// ifort
+		ErrorFormat( "fortcom: Error: (.*), line ([0-9]+):(.*)", 1, 2, 3, "intel" ),
+		// PGI
+		ErrorFormat( "PGF9(.*)-(.*)-(.*)-(.*) \\((.*): ([0-9]+)\\)", 5, 6, 4, "pgi" ),
+		// PGI (2)
+		ErrorFormat( "PGF9(.*)-(.*)-(.*)-Symbol, (.*) \\((.*)\\)", 5, 5, 4, "pgi" ),
 
 		ErrorFormat( 0, 0, 0, 0 ) // this one last
 	};
Comment 8 Alexander Dymo 2006-03-14 21:06:27 UTC
*** Bug 120350 has been marked as a duplicate of this bug. ***