Re: Is splint the best for static code checking? I mean free.



On 2007-03-19, Bin Chen <binary.chen@xxxxxxxxx> wrote:

But I have some doubts, such as following code checked by splint:

I've never been able to get splint configured to do anything
useful. I'm always flooded with tons of useless warnings about
things like this:

uint8_t u;

u = 7;

Splint whines at me about how the assignment is truncating an
"int" value and converting a signed value to an unsigned value.
After spending some time on the splint mailing list and hacking
on the source code trying (unsuccessfully) to fix bugs like
that, I gave up.

--
Grant Edwards grante Yow! It's so OBVIOUS!!
at
visi.com
.