Hi all,
I'd like to use CodeLite with an external compiler (Greenhills).
It all works fine as far as the build process is concerned. In the build window I see the output of the compiler but unfortunately warnings and errors are neither marked nor can I click on them and get to the code that caused the error/warning.
The marking might not work because I got the regular expression for the warning format of the compiler wrong (I just can't get used to them...).
So first of all, could someone please give me the expression for warnings and errors (examples for warning and error outputs see blow)?
".\abc\abc.c", line 107: warning #550-D: variable "test" was set but never used
".\abc\abc.c", line 916: error #65: expected a ";"
Thanks in advance.
And is it possible to make this lines 'clickable'? This is not that important if the lines are marked in colours - but now it happens that I actually overlook some lines because they are just plain text.
System is Windows XP with Codelite Rev. 1789.
external compiler
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Fri Nov 21, 2008 12:51 pm
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: external compiler
Action wrote:So first of all, could someone please give me the expression for warnings and errors (examples for warning and error outputs see blow)?
".\abc\abc.c", line 107: warning #550-D: variable "test" was set but never used
".\abc\abc.c", line 916: error #65: expected a ";"
Code: Select all
"([a-zA-Z]{0,2}:?[ a-zA-Z\.0-9_/\+\-]+ *)"(, line )([0-9]+ *)(: warning)
"([a-zA-Z]{0,2}:?[ a-zA-Z\.0-9_/\+\-]+ *)"(, line )([0-9]+ *)(: error)
It is done automatically - if the regex matches, it will be clickableAction wrote:And is it possible to make this lines 'clickable'? This is not that important if the lines are marked in colours - but now it happens that I actually overlook some lines because they are just plain text.
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Fri Nov 21, 2008 12:51 pm
- Contact:
Re: external compiler
Thanks a lot, that does the trick!