sorry - I used the wrong list...<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Peter M. Clausen</b> <span dir="ltr"><<a href="mailto:petermichaelclausen@gmail.com">petermichaelclausen@gmail.com</a>></span><br>
Date: 2012/10/15<br>Subject: Issues parsing buildoutput<br>To: <a href="mailto:kdevelop@kdevelop.org">kdevelop@kdevelop.org</a><br><br><br>Hi<div><br></div><div>I'm working with kdevelop 4.3.1 (Ubuntu 12.04). I was trying to fix an issue parsing intel fortran (ifort) build output. I am able to do so in 4.3.1 branch, but not in 4.4. (latest) branch.</div>
<div>
<br></div><div>Problem using Intel Fortran: "Info" output cannot be 'clicked' on and let cursor jump to problematic place. "Error" is OK.</div><div><br></div><div>I looked into the file kdevelop-4.3.1/projectbuilders/makebuilder/outputfilters.cpp line 38:</div>

<div>   org:</div><div>    << ErrorFormat( "fortcom: (.*), line ([0-9]+):(.*)", 1, 2, 3, "intel" )</div><div><br></div><div><div>   new:</div><div>    << ErrorFormat( "[a-zA-Z]+: [a-zA-Z]+: (.*), line ([0-9]+):(.*)", 1, 2, 3, "intel" )</div>

</div><div><br></div><div>Thus it will match both following lines:</div><div><div><div>fortcom: Error: /scratch/var_r_en.f90, line 292: Syntax error, found ')' when expecting one of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT> <INTEGER_CONSTANT> ...</div>

<div>            if (record_exists==)</div></div><div>fortcom: Info: /scratch/var_r_en.f90, line 101: This variable has not been used.   [D]</div><div>  real D</div></div><div><div><br></div></div><div><br></div><div>I tried to look at this in 4.4. branch (<a href="http://anongit.kde.org/kdevplatform/kdevplatform-latest.tar.gz" target="_blank">http://anongit.kde.org/kdevplatform/kdevplatform-latest.tar.gz</a>) and it looks like it has been moved to: ./kdevplatform/outputview/outputfilteringstrategies.cpp</div>

<div>But here I cant make it work. I've changed the line 88:</div><div><div>   org: </div><div>    << ErrorFormat( "^fortcom: (Error): (.*), line ([0-9]+):(.*)", 2, 3, 1, "intel" )</div><div>

   new:</div><div>    << ErrorFormat( "^[a-zA-Z]+: [a-zA-Z]+: (.*), line ([0-9]+):(.*)", 1, 2, 3, "intel" )</div></div><div><br></div><div>But it does not work as in 4.3.1. Doing the above change only matches the first error, not any info or any other errors afterwards. Could someone please help me here? I was also wondering why "2, 3, 1" should be the new order of arguments, compare to 4.3.1 branch.</div>

<div><br></div><div>I have never submitted anything to a KDE-project, so I would be thankfull if someone could point me to a "how to".</div><div><br></div><div>Best regards</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Peter</div></font></span><div>
<br></div><div>PS. Keep up the good work on my favorite IDE.</div>
</div><br>