Lint

The Lint program is one of the best tools for finding portability problems and certain types of coding errors in C programs. Lint is easily found via Google, however...

...on many modern systems, lint has been replaced with compiler warning messages. When using gcc for example, you should compile with:

    gcc -Wall
In fact, you should really force your code to be warning free. While coding and testing, compile with:
    gcc -Wall -Werror
This will not only enable all warning messages, it will flag them as the errors that they really are!


...previousup (conts)next...



About this document:

Produced from the SGML: /home/isd/public_html/_course_crash_in_c/_reml_grp/index.reml
On: 3/3/2003 at 17:43:41
Options: reml2 -i noindex -l long -o html -p multiple