linker error pattern for g++

Discussion about CodeLite development process and patches
User avatar
Jarod42
CodeLite Expert
Posts: 239
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

linker error pattern for g++

Post by Jarod42 »

Compiler error pattern and linker error pattern seems to share the same settings:
So some linker errors were not catched by default pattern.

I have added this pattern :
-- 8< --
^([^ ][a-zA-Z:]{0,2}[ a-zA-Z\\.0-9_/\\+\\-]+) *(:)([0-9]+)(:) undefined reference to .*
FileIndex:1
LineIndx:3
-- >8 --
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: linker error pattern for g++

Post by eranif »

Jarod42 wrote:Compiler error pattern and linker error pattern seems to share the same settings:
Actually the "errors" in the "error patterns" only indicates the colour nothing more :D
Jarod42 wrote:^([^ ][a-zA-Z:]{0,2}[ a-zA-Z\\.0-9_/\\+\\-]+) *(:)([0-9]+)(:) undefined reference to .*
FileIndex:1
LineIndx:3
So, should I add those to the 'error patterns' of gcc/g++ compilers?

Eran
Make sure you have read the HOW TO POST thread
User avatar
Jarod42
CodeLite Expert
Posts: 239
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: linker error pattern for g++

Post by Jarod42 »

eranif wrote:
Jarod42 wrote:Compiler error pattern and linker error pattern seems to share the same settings:
Actually the "errors" in the "error patterns" only indicates the colour nothing more :D
And the "visibility" in the error panel (and the possibility to go to the problematic line) :)
eranif wrote:
Jarod42 wrote:^([^ ][a-zA-Z:]{0,2}[ a-zA-Z\\.0-9_/\\+\\-]+) *(:)([0-9]+)(:) undefined reference to .*
FileIndex:1
LineIndx:3
So, should I add those to the 'error patterns' of gcc/g++ compilers?
I add it here to share it and so yes, you can add in the error patterns of gcc/g++ compilers if it is ok for you.
Post Reply