User`s guide

Pragmas for the DSP56800 and DSP56800E
Pragma Reference
431Targeting MC56F83xx/DSP5685x Controllers
Remarks
If you enable this pragma, the compiler issues a warning when it encounters an
argument you declare but do not use. To suppress this warning in C++ source code,
leave an argument identifier out of the function parameter list.
This pragma corresponds to the Unused Arguments setting in the C/C++
Preprocessor panel. To check this setting, use __option (warn_unusedarg),
described in Checking Settings
. By default, this pragma is disabled.
warn_unusedvar
Controls the recognition of unreferenced variables.
Prototype
#pragma warn_unusedvar on | off | reset
Remarks
If you enable this pragma, the compiler issues a warning when it encounters a variable
you declare but do not use.
This pragma corresponds to the Unused Variables setting in the C/C++ Preprocessor
panel. To check this setting, use __option (warn_unusedvar), described in
Checking Settings
. By default, this pragma is disabled.
warning_errors
Controls whether or not warnings are treated as errors.
Prototype
#pragma warning_errors on | off | reset
Remarks
If you enable this pragma, the compiler treats all warnings as though they were errors
and does not translate your file until you resolve them.