compiler error parsing in kdevelop

kitts kitts.mailinglists at gmail.com
Mon May 21 15:31:48 UTC 2007


On Monday 21 May 2007 8:06:46 am Alexander Neundorf wrote:
> it seems I found the problem, the regexp for getting the filename from the
> compiler error message is the following:
>
> ErrorFormat( "([^: \t]+):([0-9]+):([^0-9]+)", 1, 2, 3 ),
>
> where the filename is "([^: \t]+)"
> Now if the filename has spaces (which may very well be) this doesn't work
> correctly. I could simply remove the " " from the regexp. This will fix it
> for me. Are there error messages where this might break the parsing ?

Sort of OT but im curious... How good is the support for error parsing? Can a 
user easily extend it?

I am looking forward to using kdevelop with compilers other than gcc but i am 
not sure how well the error parser in the output view will accept it?
-- 
Cheers!
kitts




More information about the KDevelop-devel mailing list