clicking on errors

Bernd Gehrmann bernd at physik.hu-berlin.de
Mon Nov 1 14:09:12 GMT 1999


On Mon, 1 Nov 1999, Mark Gillies wrote:

> 
> I'm running beta 3 and I when I click on a compiler error message it doesn't 
> go to the line. Is the feature not implemented or is it something to do with 
> me not using gcc

The error message parser expects error messages to be of the form

  filename:linenumber: error message

So if your compiler uses a different format: bad luck. In the
HEAD branch, messages are detected by regexps, so it's very
easy to consider different compilers. For example, gcc output
is matched with "([^: \t]+):([0-9]+):.*", jade output is 
matched with "[a-zA-Z]+:([^: \t]+):([0-9]+):[0-9]+:[a-zA-Z]:.*".

Bernd.




More information about the KDevelop mailing list