Page 1 of 1

gcc/g++ error and warning patterns

Posted: Wed Sep 24, 2008 2:27 am
by tarqe39
There seems to be a minor oversight in error pattern that got me all frustrated :). it seems that this pattern doesnt work right with paths with spaces in them, like my desktop xD.
So, here is the hopefully right pattern, hope i didnt wrote it wrong somehow:
errors:

Code: Select all

(^[a-zA-Z:]{0,2}[a-zA-Z\.0-9_/\+\-\ ]+ *)(:)([0-9]+)(:)([ eor]*)
warnings:

Code: Select all

(^[a-zA-Z:]{0,2}[a-zA-Z\.0-9_/\+\-\ ]+ *)(:)([0-9]+ *)(:)([0-9:]*)( warning:)
I would like to thank eranif for great effort creating this IDE, and i must say that building IDE around code completion code was a great idea, because it should be the core of good IDE.

Re: gcc/g++ error and warning patterns

Posted: Wed Sep 24, 2008 7:40 am
by eranif
tarqe39 wrote:o, here is the hopefully right pattern
I will try them out, and if they are OK, I will apply them in the SVN

Thanks,
Eran

Re: gcc/g++ error and warning patterns

Posted: Wed Nov 19, 2008 7:18 am
by fustican
Thanks, this solved the problem I was having.

Re: gcc/g++ error and warning patterns

Posted: Wed Nov 19, 2008 12:22 pm
by sdolim
Eran,

I had previously sent you a patch for this same problem. But it got undone by a later patch that added an extra "(:)([0-9]+)", for line numbers I think.

Re: gcc/g++ error and warning patterns

Posted: Wed Nov 19, 2008 12:25 pm
by eranif
I already committed this fix this morning (GMT+2)
Eran

Re: gcc/g++ error and warning patterns

Posted: Wed Nov 19, 2008 7:46 pm
by sdolim
I meant that I sent you a patch a month ago. See here:
https://sourceforge.net/tracker2/?func= ... tid=979960

But it may have been "undone" by a patch applied a week ago:
http://codelite.org/forum/viewtopic.php?f=13&t=202