Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/usr.bin/xlint/lint1
On Wed, Oct 18, 2006 at 06:42:05AM -0700, Jason Thorpe wrote:
> Actually, I now that I think about it, I think you could coax lint
> into helping... modify lint to issue a warning about a constant that
> is being cast to a type when the constant would have already fit into
> that type's range. Make it a new lint option flag...
I think that can give false warnings as well, e.g. when converting 0 to
a pointer.
Joerg
Home |
Main Index |
Thread Index |
Old Index