Not a bug, but a suggestion

Jason R Thorpe thorpej@wasabisystems.com
Fri Jan 18 08:39:00 GMT 2002


On Thu, Jan 17, 2002 at 08:16:12PM -0000, Michael McTernan wrote:

 > GCC is great - well done.  Anyhow, now that gcc obseletes lint and similar
 > programs (well, maybe not lclint, but that doesn't count) is it possible to

GCC does not obsolete even a "traditional" lint (that is, lint-updated-for-
ISO-C, such as the one that is shipped with NetBSD).

There are two major things that lint provides that compilers do not:

	(1) cross-module consistency checking

	(2) a "portability check" mode

And, honestly, these things don't belong in the compiler.  It's hard enough
getting the compiler right, leave de-linting to an external tool.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>



More information about the Gcc-bugs mailing list