Use this option if you want to prefix the string “error:” to the beginning of error messages so they are more easily distinguishable from warning messages. The prefix is also attached to warnings that are converted to errors by -errwarn.
Table B–1 The -errfmt Flags
Flag |
Meaning |
---|---|
error |
Add the prefix “error:” to all error messages. |
no%error |
Do not add the prefix “error:” to any error messages. |
If you do not specify this option, the compiler sets it to -errfmt=no%error. If you specify -errfmt, but do not supply a value, the compiler sets it to -errfmt=error.