which tool do more strictly check code than c++compiler.
-
depending on your compiler, you can just adjust the warning level up a notch, this gives "valid but potentially unsafe" operations a warning number to let you try to fix them. These are not all errors, though some may be. But this is a good place to start. After that you might want to peek here [^] and see if anything is what you are looking for. I personally like lint, I have used splint, GNU lint, and PC-Lint in times past with good luck. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
depending on your compiler, you can just adjust the warning level up a notch, this gives "valid but potentially unsafe" operations a warning number to let you try to fix them. These are not all errors, though some may be. But this is a good place to start. After that you might want to peek here [^] and see if anything is what you are looking for. I personally like lint, I have used splint, GNU lint, and PC-Lint in times past with good luck. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
depending on your compiler, you can just adjust the warning level up a notch, this gives "valid but potentially unsafe" operations a warning number to let you try to fix them. These are not all errors, though some may be. But this is a good place to start. After that you might want to peek here [^] and see if anything is what you are looking for. I personally like lint, I have used splint, GNU lint, and PC-Lint in times past with good luck. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
I've used Splint a bit and it had a number of vagaries. PC-Lint seems to be much better maintained and the price isn't bad. The tigress is here :-D
-
I've used Splint a bit and it had a number of vagaries. PC-Lint seems to be much better maintained and the price isn't bad. The tigress is here :-D
Trollslayer wrote:
I've used Splint a bit and it had a number of vagaries. PC-Lint seems to be much better maintained and the price isn't bad.
This was basically why we moved to PC-Lint. Although I have used various others, small to large and did the work (some more than others) to learn to work, eventually I just decided it was too much work to good success and switched to PC-Lint. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
derek7 wrote:
lint seem to be complex
This might make PC-Lint easier to use: http://www.riverblade.co.uk/products/visual_lint/index.html[^] I have not used it yet, though considered it several times since I learned of it. Of course it too is commercial. Basically if you want to use the free lints, it will take some work. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
derek7 wrote:
lint seem to be complex
This might make PC-Lint easier to use: http://www.riverblade.co.uk/products/visual_lint/index.html[^] I have not used it yet, though considered it several times since I learned of it. Of course it too is commercial. Basically if you want to use the free lints, it will take some work. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
derek7 wrote:
lint seem to be complex
This might make PC-Lint easier to use: http://www.riverblade.co.uk/products/visual_lint/index.html[^] I have not used it yet, though considered it several times since I learned of it. Of course it too is commercial. Basically if you want to use the free lints, it will take some work. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)