Page 1 of 1
Stop on make errors?
Posted: Wed Nov 18, 2009 9:49 pm
by ironhead
Is it possible to configure CodeLite to stop compilation on make errors? Additionally, even if there are make errors, but no code errors, the compilation completes with '0 errors 0 warnings' (which I guess is tied to my initial question).
Cheers!
Re: Stop on make errors?
Posted: Wed Nov 18, 2009 9:57 pm
by eranif
codelite is only running makefiles. codelite is not a compiler nor a compile tool, it simply invokes the 'make' tool - if you want the make tool behavior to change, submit a FR to GNU for this.
ironhead wrote:the compilation completes with '0 errors 0 warnings'
This means that the errors were not parsed correctly by codelite. If you find some errors that were not detected by codelite (and please submit only the error lines), post them here so we will add a regular expression to catch them (so they will counted as error lines)
Eran
Re: Stop on make errors?
Posted: Wed Nov 18, 2009 10:25 pm
by ironhead
I guess I should have explained things a little more, it's actually linker errors that I'm getting, with Make sending a general error at the end as a result of the link errors. As I understand it, 2.0 supports linker errors? Is there an example of this somewhere?
Re: Stop on make errors?
Posted: Wed Nov 18, 2009 10:51 pm
by eranif
ironhead wrote:As I understand it, 2.0 supports linker errors?
Codelite now has the mechanism to detect them.
Please paste here the link error that you are getting so I could make a regex out of it - and you could add it to your settings
Eran
Re: Stop on make errors?
Posted: Thu Nov 19, 2009 12:17 am
by jfouche
ironhead wrote:I guess I should have explained things a little more, it's actually linker errors that I'm getting, with Make sending a general error at the end as a result of the link errors. As I understand it, 2.0 supports linker errors? Is there an example of this somewhere?
you can have a look
here
Re: Stop on make errors?
Posted: Thu Nov 19, 2009 4:00 pm
by ironhead
jfouche wrote:ironhead wrote:I guess I should have explained things a little more, it's actually linker errors that I'm getting, with Make sending a general error at the end as a result of the link errors. As I understand it, 2.0 supports linker errors? Is there an example of this somewhere?
you can have a look
here
The Regex in the link you supplied works wonderfully, thank you!