Review Request: Parse error & warning messages generated by Free Pascal

Pär-Ola Nilsson peje66 at
Fri Dec 7 12:14:29 UTC 2012

This is an automatically generated e-mail. To reply, visit:

(Updated Dec. 7, 2012, 12:14 p.m.)

Review request for KDevelop.


Made the regexp more specific and split into two, since the "Fatal:" error only has linenumber.
Added tests.


Parse error & warning messages generated by Free Pascal which looks like the following rows
With this patch clicking on the error & warning lines will bring you to the correct line & column.

pc -g -Tlinux -Sx -Mobjfpc iono
Free Pascal Compiler version 2.6.0-6 [2012/08/09] for x86_64
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling iono.pas
iono.pas(746,5) Warning: unreachable code
iono.pas(750,5) Warning: unreachable code
iono.pas(1166,16) Error: Illegal expression
iono.pas(1175) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)

Diffs (updated)

  outputview/outputfilteringstrategies.cpp 567bc62 
  outputview/tests/filteringstrategytest.cpp 116b163 




Pär-Ola Nilsson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list