Suppresses cc warning messages. Has no effect on error messages.
t is a comma-separated list that consists of one or more of the following: tag, no%tag, %all, %none. Order is important; for example, %all,no%tag suppresses all warning messages except tag. The following table lists the -erroff values:
Value |
Meaning |
---|---|
tag |
Suppresses the warning message specified by this tag. You can display the tag for a message by using the -errtags=yes option. |
no%tag |
Enables the warning message specified by this tag |
%all |
Suppresses all warning messages |
%none |
Enables all warning messages (default) |
The default is -erroff=%none. Specifying -erroff is equivalent to specifying -erroff=%all.
You can achieve finer control over error message suppression. See "#pragma error_messages (on|off|default, tag... tag)".