gcc/g++ error and warning patterns

CodeLite installation/troubleshooting forum
tarqe39
CodeLite Curious
Posts: 1
Joined: Wed Sep 24, 2008 2:17 am
Contact:

gcc/g++ error and warning patterns

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: gcc/g++ error and warning patterns

Post 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
Make sure you have read the HOW TO POST thread
fustican
CodeLite Curious
Posts: 1
Joined: Wed Nov 19, 2008 7:14 am
Contact:

Re: gcc/g++ error and warning patterns

Post by fustican »

Thanks, this solved the problem I was having.
sdolim
CodeLite Veteran
Posts: 69
Joined: Fri Oct 24, 2008 10:29 pm
Contact:

Re: gcc/g++ error and warning patterns

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: gcc/g++ error and warning patterns

Post by eranif »

I already committed this fix this morning (GMT+2)
Eran
Make sure you have read the HOW TO POST thread
sdolim
CodeLite Veteran
Posts: 69
Joined: Fri Oct 24, 2008 10:29 pm
Contact:

Re: gcc/g++ error and warning patterns

Post 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
Post Reply