A/UX: lint Problems (9/94)

Article Last Reviewed: 21 September 1994


I have found four problems with lint:

1) The -o option generates the following error:

/usr/lib/lint1: illegal option -- o

2) The manual does not explain how to create the "llib-lx.ln" file in the
"-lx" option.

3) In this line, the -Dlint does not get defined:

cc -E -C -Dlint llib-lx | /usr/lib/lint1

4) There is no way to tell lint where to look for Lint libraries.

A couple of lint problems have been found and reported in the A/UX Engineering SPR database. These include that

1) The -o option is not implemented in A/UX 1.1. However, it is implemented
in 2.0, 2.0.1, and 3.0.

2) The commands below described in the -lx option of lint(1) to generate
the llib-lx.ln from the llib-lx were not correct; "cc" expects a C source
file.

cc -C -C -Dlint llib-lx | \\
/usr/lib/lint1 -vx -H/tmp/lint$$ > llib-lx.ln
rm -f /tmp/lint$$

The purpose of the -lx option is to include an additional lint library, (named llib-lx.ln) in the /usr/lib directory to be searched. For example, the -lm for additional search on the mathematical lint library, /usr/lib/llib-lm.ln. There is a naming error on the /usr/lib/llib-port.ln; it should be named /usr/lib/llib-lport.ln for the portable C lint library.


Support Information Services

Published Date: Feb 18, 2012