ARM Ltd Windows GCC C Compiler > Warnings

Use the Warnings panel to control how the compiler reports the error and warning messages. The following figure shows the Warnings panel.

Figure 1. Tool settings - ARM Ltd Windows GCC C Compiler > Warnings
Tool settings - ARM Ltd Windows GCC C Compiler > Warnings

The following table lists and describes the various options available on the Warnings panel.

Table 1. ARM Ltd Windows GCC C Compiler > Warnings
Option Description
Check syntax only (-fsyntax-only) Check this option if if you want to check the syntax of commands and throw a syntax error.
No common (-fno-common) Check this option if if you want to issue all the warnings demanded by strict ISO C and ISO C++; reject all programs that use forbidden extensions, and some other programs that do not follow ISO C and ISO C++. For ISO C, follows the version of the ISO C standard specified by any `-std' option used.
Pedantic (-pedantic) Check if you want warnings like -pedantic, except that errors are produced rather than warnings.
Pedantic warnings as errors (-pedantic-errors) Check this option if if you want to inhibit the display of warning messages.
Inhibit all warnings (-w) Check this option if if you want to enable all the warnings about constructions that some users consider questionable, and that are easy to avoid (or modify to prevent the warning), even in conjunction with macros.
All warnings (-Wall) Check this option if if you want to enable all the warnings about constructions that some users consider questionable, and that are easy to avoid (or modify to prevent the warning), even in conjunction with macros.
Extra warnings (-Wextra) Check this option to enable any extra warnings.
Warnings as errors (-Werror) Check this option if if you want to make all warnings into hard errors. Source code which triggers warnings will be rejected.