Option |
Meaning |
-errfmt |
Adds the string "error:" to the beginning of error messages
so they are more easily distinguishable from warning messages.
|
-errhdr |
Limits warnings from header files to a group of header files as
indicated by the option's flags.
|
-erroff |
Suppresses compiler warning messages but has no effect on error messages.
|
-errshort |
Controls how much detail is in the error message produced by the
compiler when it discovers a type mismatch.
|
-errtags |
Displays the message tag for each warning message of the compiler
front-end that can be suppressed with the -erroffoption or made a fatal
error with the -errwarn option.
|
-errwarn |
Causes the compiler to exit with a failure status for the given
warning messages.
|
-v |
Performs more and stricter semantic checks, and enables certain
lint-like checks on the named C files.
|
-w |
Suppresses warning messages. |
-xe |
Checks only for syntax and semantic errors. |
-xtransition |
Issues warnings for differences between K&R C and ISO C. |
-xvpara |
Show parallelization warning messages. |
Option |
Meaning |
-erroff |
Suppresses compiler warning messages but has no effect on error messages.
|
-errtags |
Displays the message tag for each warning message of the compiler
front-end that can be suppressed with the -erroffoption or made a fatal
error with the -errwarn option.
|
-errwarn |
Causes the compiler to exit with a failure status for the given
warning messages.
|
+w |
Identifies code that might have unintended consequences. |
+w2 |
Emits the same warnings as +w as well as warnings about
technical violations that are probably harmless, but that might reduce the
maximum portability of your program.
|
-w |
Suppresses warning messages. |
-xe |
Checks only for syntax and semantic errors. |