13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>C compiler option: --warnings-as-errorsMenu entry1. Select Global Options.2. Enable the option Treat warnings as errors.Command line syntax--warnings-as-errors[=number[-number],...]DescriptionIf the compiler encounters an error, it stops compiling. When you use this option without arguments, youtell the compiler to treat all warnings not suppressed by option --no-warnings (or #pragma warning)as errors. This means that the exit status of the compiler will be non-zero after one or more compilerwarnings. As a consequence, the compiler now also stops after encountering a warning.You can also limit this option to specific warnings by specifying a comma-separated list of warning numbersor ranges. In this case, this option takes precedence over option --no-warnings (and #pragma warning).Related in<strong>for</strong>mationC compiler option --no-warnings (Suppress some or all warnings)Pragma warning364

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!