User`s guide

Target Settings
DSP56800E-Specific Target Settings Panels
48
Targeting MC56F83xx/DSP5685x Controllers
C/C++ Preprocessor
The C/C++ Preprocessor (Figure 4.5) panel controls how the preprocessor interprets
source code. By modifying the settings on this panel, you can control how the
preprocessor translates source code into preprocessed code.
More specifically, the C/C++ Preprocessor panel provides an editable text field that
can be used to #define macros, set #pragmas, or #include prefix files.
Enums Always
Int checkbox
Checked — Restricts all enumerators to the
size of a singed int.
Clear — Compiler converts unsigned int
enumerators to signed int, then chooses an
accommodating data type, char to long int.
To check whether this restriction is in
effect, use the
__option(enumalwasysint) command.
Use Unsigned
Chars checkbox
Checked — Compiler treats a char
declaration as an unsigned chard
declaration.
Clear — Compiler treats char and unsigned
char declarations differently.
Some libraries were compiled without
this option. Selecting this option may
make your code incompatible with
such libraries.
To check whether this option is in
effect, use the
__option(unsigned_char) command.
Reuse Strings
checkbox
Checked — Compiler stores only one copy
of identical string literals, saving memory
space.
Clear — Compiler stores each string literal.
If you select this option, changing one
of the strings affects them all.
Table 4.5 C/C++ Language Panel Elements (continued)
Element Purpose Comments