CSIRO Mathematics, Informatics and Statistics
|
|
|
Next: Purify and Sentinel Up: Testing LIAR functions Previous: Testing LIAR functions
LintAll functions should be passed through lint. lint will attempt to detect features of C source code that are likely to be errors, nonportable, or wasteful. It also checks type usage more strictly than most C compilers. The LIAR usage of lint is: lint -x function_name.cwhere the -x flag tells lint not to report variables referred to by external declarations but never used. This is necessary to stop lint complaining about all the prototypes definitions included in liar.h but not used in the function being tested.
Ed Breen Tue Sep 3 17:19:31 EST 1996 |