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!
Latest version of CppCheck
-
- CodeLite Veteran
- Posts: 81
- Joined: Thu Mar 21, 2013 1:12 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
-
- CodeLite Veteran
- Posts: 81
- Joined: Thu Mar 21, 2013 1:12 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Latest version of CppCheck
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
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Latest version of CppCheck
Hi,
Regards,
David
Yes. It gets upgraded every year or 3 .At the moment CL includes an older version of CppCheck
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...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?
Regards,
David
-
- CodeLite Veteran
- Posts: 81
- Joined: Thu Mar 21, 2013 1:12 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Latest version of CppCheck
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...
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...
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Latest version of CppCheck
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).
-
- CodeLite Veteran
- Posts: 81
- Joined: Thu Mar 21, 2013 1:12 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Latest version of CppCheck
Ah, I see thanks.