DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Introduction to programming in standard C and C++

Program analysis

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.


NOTE: Use lint to check your program for portability and cross-file consistency, and to assure it will compile. Use debug to locate a bug.


Next topic: C and C++ compilation
Previous topic: Advanced programming utilities

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004