News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Static code analysis? Cppcheck?

Started by blablub, March 29, 2011, 08:03:31 PM

Previous topic - Next topic

blablub

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.

killerbot

Plugins menu -> CppCheck

What version of CB are you using ?

blablub

#2
C::B 10.05

My plugins menu is almost empty. It has only "Source code formatter (AStyle)" and "Windows XP Look'n'Feel".

oBFusCATed

Reinstall and enable all the contrib plugins in the installer...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

blablub

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.

oBFusCATed

Quote from: blablub on March 29, 2011, 09:20:43 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 :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]