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.
The same needs here. It will be really great help for "ifort" users.
Created attachment 11870 [details] Patch the file parts/outputviews/compileerrorfilter.cpp for Intel Fortran Compiler (ifort) Patch created with gastineau's suggestion
I forgot to mention the patch was created for KDevelop v3.2.1
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.
>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.
Saddly it seem there's not enough fortran user... At least the patch is there if someone need it...
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 };
*** Bug 120350 has been marked as a duplicate of this bug. ***