Page 1 of 1

Latest version of CppCheck

Posted: Mon Apr 08, 2013 3:35 pm
by iwbnwif
Hello!

At the moment CL includes an older version of CppCheck (1.54) and the plugin seems to be hard coded to use its own version.

Is there a way of configuring CL to use the latest version (1.59) and the imminent 1.60?

Also I don't see any highlighting of the output from CppCheck as has been shown in some older screenshots. Has this feature been removed?

Many thanks!

Re: Latest version of CppCheck

Posted: Mon Apr 08, 2013 3:50 pm
by iwbnwif
Of course the obvious solution on Linux is to delete the /usr/bin/codelite_cppcheck executable and replace it with a symlink to the standard cppcheck executable :D

Re: Latest version of CppCheck

Posted: Tue Apr 09, 2013 12:31 pm
by DavidGH
Hi,
At the moment CL includes an older version of CppCheck
Yes. It gets upgraded every year or 3 ;) .
Also I don't see any highlighting of the output from CppCheck as has been shown in some older screenshots. Has this feature been removed?
Hmm. That seems to have been a casualty of last year's change from wxScintilla to wxSTC; the CppCheckReportPage::ColorLine lexer code (which depended on wxScintilla) was commented out...

Regards,

David

Re: Latest version of CppCheck

Posted: Tue Apr 09, 2013 1:55 pm
by iwbnwif
Hi, thanks for that.

Is there a reason why a 'custom' version of cppcheck is being used rather than just the one in /usr/bin?

I know that the checker does some clever things with include files so I guess it might be related to this...

Re: Latest version of CppCheck

Posted: Wed Apr 10, 2013 1:26 am
by DavidGH
I don't know; I can't remember if it's customised. Perhaps so that it's available even if the user doesn't have their own installation (which most people won't, I suspect).

Re: Latest version of CppCheck

Posted: Wed Apr 10, 2013 11:01 am
by iwbnwif
Ah, I see thanks.