User`s guide
Target Settings
DSP56800E-Specific Target Settings Panels
52
Targeting MC56F83xx/DSP5685x Controllers
Extended Error
Checking
checkbox
Checked — Compiler issues warnings in
response to specific syntax problems.
Clear — Compiler does not perform such
checks.
Syntax problems are: a non-void
function without a return statement,
an integer or floating-point value
assigned to an enum type, or an
empty return statement in a function
not declared void.
To check whether this option is in
effect, use the
__option(extended_errorcheck)
command.
Hidden Virtual
Functions
Leave clear. Does not apply to C.
Implicit
Arithmetic
Conversions
checkbox
Checked — Compiler verifies that operation
destinations are large enough to hold all
possible results.
Clear — Compiler does not perform such
checks.
If this option is in effect, the compiler
would issue a warning in response to
assigning a long value to a char
variable.
To check whether this option is in
effect, use the
__option(warn_implicitconv)
command.
Pointer/Integral
Conversions
Checked — Compiler checks for pointer/
integral conversions.
Clear — Compiler does not perform such
checks.
See #pragma warn_any_ptr_int_conv
and #pragma warn_ptr_int_conv
.
Unused
Variables
checkbox
Checked — Compiler checks for declared,
but unused, variables.
Clear — Compiler does not perform such
checks.
The pragma unused overrides this
option.
To check whether this option is in
effect, use the
__option(warn_unusedvar)
command.
Unused
Arguments
checkbox
Checked — Compiler checks for declared,
but unused, arguments.
Clear — Compiler does not perform such
checks.
The pragma unused overrides this
option.
Another way to override this option is
clearing the ANSI Strict checkbox of
the C/C++ Language panel, then not
assigning a name to the unused
argument.
To check whether this option is in
effect, use the
__option(warn_unusedarg)
command.
Table 4.7 C/C++ Warnings Panel Elements (continued)
Element Purpose Comments