SLAU646F September 2015 – June 2020
Figure 3-11 shows the MSP430 GCC Diagnostic Options settings window.
Table 3-9 describes the options that are available for MSP430 GCC Diagnostic Options settings.
Option | Description |
---|---|
Check for syntax errors, then stop (-fsyntax-only) | Enable this option to check the syntax of the code and report any errors. |
Suppress warnings (-w) | Inhibit all warning messages. |
Enable most warning messages (-Wall) | Enable this option 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. |
Treat all warnings as errors (-Werror) | Enable this option to make all warnings into hard errors. Source code that triggers warnings is rejected. |
Enable verbose output (-v) | Enable this option for the IDE to show each command line that it passes to the shell, along with all progress, error, warning, and informational messages that the tool emits. This setting is equivalent to specifying the –v command-line option. By default, this checkbox is clear. The IDE displays only error messages that the compiler emits. The IDE suppresses warning and informational messages. |