A/UX: "lint" Problem With Toolbox (9/94)



I am having problems using lint with toolbox programs. If I call lint to check programs that "include" header files from /usr/include/mac (for example, files.h), lint gives this message:

files.h(61):
**** cannot recover from this error ****

You can reproduce the error by going to /usr/lib/mac/examples/term and giving the command:

$lint -I/usr/include/mac *.c

The problem is not the include file "files.h". If you take it out, the same error happens with other includes. Can you explain?

We have verified that the "**** cannot recover from this error ****" error message generated by "lint" (the C program checker) with toolbox "term" programs happen only on C programs that include the /usr/include/mac/files.h file or the "term.h" header file in the /usr/lib/mac/examples/term directory. The "lint" source reported a fatal error on the compiler and stopped the C code checking.

In later versions of A/UX, the source to "term" is no longer included in the product. Also, the "examples" directory is now in /mac/src.


Support Information Services
Published Date: Feb 18, 2012