The C compiler can output information messages. These messages tell you about poor programming style, potential coding problems, and the structure of your program. They are categorized into the groups listing in the table below. You can use info(group) and info(all) to control which groups of messages are produced or suppressed.
| group | Message Category |
|---|---|
| all | All diagnostics. |
| cmp | Possible redundancies in unsigned comparisons. |
| cnd | Possible redundancies or problems in conditional expressions. |
| cns | Operations involving constants. |
| cnv | Conversions. |
| dcl | Consistency of declarations. |
| eff | Statements with no effect. |
| enu | Consistency of enum variables. |
| ext | Unused external definitions. |
| gen | General diagnostics. |
| gnr | Generation of temporary variables. |
| got | Usage of goto statements. |
| ini | Possible problems with initialization. |
| lan | Effects of the language level. |
| obs | Features that are obsolete. |
| ord | Unspecified order of evaluation. |
| par | Unused parameters. |
| por | Nonportable language constructs. |
| ppc | Possible problems with using the preprocessor. |
| ppt | Trace of preprocessor actions. |
| pro | Missing function prototypes. |
| rea | Code that cannot be reached. |
| ret | Consistency of return statements. |
| trd | Possible truncation or loss of data or precision. |
| tru | Variable names truncated by the compiler. |
| uni | Uninitialized variables. |
| use | Unused auto and static variables. |
![]()
C Compilation
Messages Produced by Builds
![]()
Miscellaneous Build Options
![]()
Miscellaneous Build Options
