ConsolePlugin: marks errors on the wrong line (when compiling or running make)
Submitted by Monday, 13 March, 2006 - 11:46
on
I recently installed JEdit 4.3pre3 and of course the important ConsolePlugin. Together with ErrorListPlugin, compiling my C/C++ programs works like a charm. Except for one point: sometimes when running make console marks the wrong lines.
E.g. the output looks like:
mkformular.c: In function `add_elementlist': mkformular.c:994: warning: int format, long unsigned int arg (arg 4) mkformular.c:994: warning: int format, long int arg (arg 5) mkformular.c:1007: warning: int format, long int arg (arg 4) Updating version number in version.c Compiler Run #2343Consequently, ErrorListPlugin only mentions two of these three warnings. I don't know whether ErrorList has a problem as with having multiple warnings occuring on the same line. Anyway, if I paste this output into the Test Area on Plugin Options > Console > Error Patterns pane of the Generic error pattern it correctly extracts and displays all three warnings. My problem now is:
- Why does the test show ok, but the real output not?
- Why does error parsing not work at all when I copy the above text to a file an then run cat file on the console?