On Fri, 21 Jan 2022 00:45:56 +0100
Steffen Nurpmeso <stef...@sdaoden.eu> wrote:
 
> I found scan-build to generate a lot of false warnings, so much indeed
> that i stopped using it .. in summer 2017.

You, and most others, (no sarcasm at all here) are much better
at C than I will ever be. I am not even at "amateur" level - more like
a part-time hobby. I mostly fiddle with text data compression for fun.

For me, clang analyzer is more than helpful. It detects errors that
most of you, professional programmers, would never make. You probably
don't even realize the power of it, since you never make such
embarrassing mistakes while coding as I do. For me, every time there was
a warning from clang, it was fully warranted. Took me couple days in
some cases to figure out why, but it was always justified and I learned
a lot from it.

I install clang from ports solely for the analyzer part. It would be
nice if it was included in base installation - some of us just want a
basic idiot-check tool available when trying to program things. But
ports installation works as well too.

--
Andre

Reply via email to