-
C++ lint
I was just wondering if there is a free static code analyzer for C++ somewhere (yes, I'm a cheapskate). Of course, VC++ 2005 will warn me about lots of code smells, like uninitialized data or unreferenced variables, but I'm sure a specialized tool would make a better job of it.
-
PC-Lint. A must have. Link somewhere on my sig
EDIT: Oh! You said free...
Ahahaha! a free lint... you are a funny guy ;)
EDIT 2: Check here http://www.thefreecountry.com/progra...ebuggers.shtml for a few options. Unfortunately not as feature ridden as PC-Lint
-
>Ahahaha! a free lint... you are a funny guy
Well, for C++, sure. For C, there are at least two versions of lint available for free.
-
I don't regreat having bought PC-lint. It was on expensive side of things but it's an incredible tool. But that is exactly what hurt me most then. Free C lints like Splint for instance :)
Darn!
-
> I was just wondering if there is a free static code analyzer for C++ somewhere
If there is any money involved (like you're being paid to do something) then lint is good value for money. It basically pays for itself when it finds the first few bugs which would have taken you several hours of digging in the code by other methods.
-
Thank you all; I guess I'll just have to talk my manager into buying a copy...
-