Sun Studio 12 Update 1: C User's Guide

B.2.12 -errhdr[=h]

Limit the warnings from header files to the group of header files indicated by the following flags:

Table B–2 The —errhdr option

Value 

Meaning 

%all

Check all header files used. 

%none

Do not check header files. 

%user

Checks all the user header files except those in /usr/include and its sub-directories. Also checks all the header files supplied by the compiler. This is the default.