Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: blablub on March 29, 2011, 08:03:31 pm

Title: Static code analysis? Cppcheck?
Post by: blablub on March 29, 2011, 08:03:31 pm
The cppcheck website tells me that it is included with Code::Blocks. How/Where can I use/find it? I can't find it in any menu. Or should it work automatically in the background? If so, then it does not what I expect. When running the original cppcheck from their website I get a lot of advices on improving my code that C::B isn't advicing to me.

Thanks.
Title: Re: Static code analysis? Cppcheck?
Post by: killerbot on March 29, 2011, 08:33:36 pm
Plugins menu -> CppCheck

What version of CB are you using ?
Title: Re: Static code analysis? Cppcheck?
Post by: blablub on March 29, 2011, 09:04:22 pm
C::B 10.05

My plugins menu is almost empty. It has only "Source code formatter (AStyle)" and "Windows XP Look'n'Feel".
Title: Re: Static code analysis? Cppcheck?
Post by: oBFusCATed on March 29, 2011, 09:19:31 pm
Reinstall and enable all the contrib plugins in the installer...
Title: Re: Static code analysis? Cppcheck?
Post by: blablub on March 29, 2011, 09:20:43 pm
Yeah, just found this out myself...

I think there should be a way to install the basic plugins later on, if you realise after installing that you need them.
Title: Re: Static code analysis? Cppcheck?
Post by: oBFusCATed on March 29, 2011, 09:31:02 pm
I think there should be a way to install the basic plugins later on, if you realise after installing that you need them.
As you've seen you can do it :)
C::B is not as big as VStudio, so a full reinstall is OK for now :)