User`s guide
Target Settings
DSP56800E-Specific Target Settings Panels
53Targeting MC56F83xx/DSP5685x Controllers
Missing ‘return’
Statements
Checked — Compiler checks for missing
‘return’ statements.
Clear — Compiler does not perform such
checks.
See #pragma warn_missingreturn
.
Expression Has
No Side Effect
Checked — Compiler issues warning if
expression has no side effect.
Clear — Compiler does not perform such
checks.
See #pragma warn_no_side_effect
Extra Commas
checkbox
Checked — Compiler checks for extra
commas in enums.
Clear — Compiler does not perform such
checks.
To check whether this option is in
effect, use the
__option(warn_extracomma)
command.
Inconsistent Use
of ‘class’ and
‘struct’ Keywords
checkbox
Leave clear. Does not apply to C.
Empty
Declarations
checkbox
Checked — Compiler issues warnings
about declarations without variable names.
Clear — Compiler does not issue such
warnings.
According to this option, the
incomplete declaration int ; would
prompt the compiler response
WARNING.
To check whether this option is in
effect, use the
__option(warn_emptydecl)
command.
Include File
Capitialization
Checked — Compiler issues warning about
include file capitialization.
Clear — Compiler does not perform such
checks.
See #pragma warn_filenamecaps
Pad Bytes
Added
Checked — Compiler checks for pad bytes
added.
Clear — Compiler does not perform such
checks.
See #pragma warn_padding.
Undefined Macro
In #if
Checked — Compiler checks for undefined
macro in #if.
Clear — Compiler does not perform such
checks.
See #pragma warn_undefmacro
.
Table 4.7 C/C++ Warnings Panel Elements (continued)
Element Purpose Comments