4.3.11 -errhdr=h
Enables
lint to report certain messages for header files when you also
specify -Ncheck. h is a comma-separated list that
consists of one or more of the following: dir,
no%dir, %all,
%none, %user.
Table 4-3 -errhdr Flags
|
|
dir
|
Report the -Ncheck messages for header files included from the directory
dir
|
no%dir
|
Does not report the -Ncheck messages for header files included from the
directory dir
|
%all
|
Checks all used header files
|
%none
|
Does not check header files
|
%user
|
Checks all used user header files, that is, all header files except those in
/usr/include and its subdirectories, as well as those supplied by the compiler.
This is the default.
|
|
Examples:
% lint -errhdr=inc1 -errhdr=../inc2
Checks used header files in directories inc1 and
../inc2.
% lint -errhdr=%all,no%../inc
Checks all used header files except those in the directory ../inc.