tech-misc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: __attribute__((warn_unused_result)) for NetBSD?
On Sun, Sep 14, 2008 at 04:03:59AM -0400, der Mouse wrote:
> This is why I stopped using lint; it produces content-free warnings
> like "pointer casts may be troublesome", to the point where I found the
> time lost sorting through its output looking for anything worth reading
> was more than the time lost to the bugs I had to find the hard way.
> (gcc helps this substantially because it has warning options that
> provide many of the more valuable checks lint did, without the drivel.
> There was a time when I had a lint postprocessor which tried to clean
> up the useless noise; even with that I found it of negative value.)
This is largely because our lint is old and stupid.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index