|
|
The lint program, described in ``Analyzing your code with lint'', checks for code constructs that may cause your C program not to compile, or to execute with unexpected results. lint issues every error and warning message produced by the C compiler. It also issues ``lint-specific'' warnings about inconsistencies in definition and use across files and about potential portability problems. A list of these warnings, with examples of source code that would elicit them, is included.
Additional tools for program analysis and debugging are described in Debugging and analyzing C and C++ programs. These tools include debug, prof, lprof and prof, and cscope.