Use this panel direct the DSC compiler to apply specific processing modes to the language source code. You can compile source files with just one collection at a time. To compile source files with multiple collections, you must compile the source code sequentially. After each compile iteration change the collection of settings that the DSC compiler uses.
The following table lists and describes the compiler optimization options for DSC.
| Option | Description |
|---|---|
| ANSI Strict | Check to enable C compiler operate in strict ANSI mode. In this mode, the compiler strictly applies the rules of the ANSI/ISO specification to all input files. This setting is equivalent to specifying the - ansi command-line option. The compiler issues a warning for each ANSI/ISO extension it finds. |
| ANSI Keywords Only | Check to generate an error message for all non-standard keywords (ISO/IEC 9899-1990 C, �6.4.1). If you must write source code that strictly adheres to the ISO standard, enable this setting; is equivalent to pragma only_std_keywords and the command-line option -stdkeywords. |
| Enums Always Int | Check to u se signed integers to represent enumerated constants and is equivalent to pragma enumsalwaysint and the command-line option -enum. |
| Use Unsigned Chars | Check to t reat char declarations as unsigned char declarations and is equivalent to pragma unsigned_char and the command-line option -char unsigned. |
| Require Function Prototypes | Check to enforce the requirement of function prototypes. The compiler generates an error message if you define a previously referenced function that does not have a prototype. If you define the function before it is referenced but do not give it a prototype, this setting causes the compiler to issue a warning message. |
| Expand Trigraphs | Check to recognize trigraph sequences (ISO/IEC 9899-1990 C, �5.2.1.1); is equivalent to pragma trigraphs and the command-line option -trigraphs. |
| Legacy for-scoping | Check to g enerate an error message when the compiler encounters a variable scope usage that the ISO/IEC 14882-1998 C++ standard disallows, but is allowed in the C++ language specified in The Annotated C++ Reference Manual. |
| Reuse Strings | Check to store only one copy of identical string literals and is equivalent to opposite of the pragma dont_reuse_strings and the command-line option -string reuse. |
| Pool Strings | Check to collect all string constants into a single data section in the object code it generates and is equivalent to pragma pool_strings and the command-line option -strings pool. |
| Other flags | Specify additional command line options for the compiler; type in custom flags that are not otherwise available in the UI. Note : To enable CodeWarrior MCU V10.x to generate .lst file for each source file in DSC you need to specify -S in the Other Flags option. |