Use this panel to specify the language settings for S12Z compiler.
The following table lists and describes the Language options for S12Z compiler.
| Option | Description |
|---|---|
| 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. |
| Enable C++ 'bool' type, 'true' and 'false' Constants | Check to enable the C++ compiler to recognize the bool type and its true and false values specified in the ISO/IEC 14882-2003 C++ standard. |
| ISO C++ Template Parser | Check to follow the ISO/IEC 14882-2003 standard for C++ to translate templates, enforcing more careful use of the typename and template keywords. The compiler also follows stricter rules for resolving names during declaration and instantiation. |
| Use Instance Manager | Check to reduce compile time by generating any instance of a C++ template (or noninlined inline) function only once. |
| Force C++ Compilation | Check to enable the forced C++ compilation. |
| Enable GCC Extensions | Check to recognize language features of the GNU Compiler Collection (GCC) C compiler that are supported by CodeWarrior compilers; is equivalent to pragma gcc_extensions and the command-line option -gcc_extensions. |
| Enable C99 Extensions | Check to recognize ISO/IEC 9899-1999 ("C99") language features; is equivalent to pragma c99 and the command-line option -dialect c99. |
| Enable C++ Exceptions | Check to generate executable code for C++ exceptions; is equivalent to pragma exceptions and the command-line option -cpp_exceptions. |
| Enable RTTI | Check to allow the use of the C++ runtime type information (RTTI) capabilities, including the dynamic_cast and typeid operators; is equivalent to pragma RTTI and the command-line option -RTTI. |
| Enable wchar_t Support | Check to enable C++ compiler recognize the wchar_t data type specified in the ISO/IEC 14882-2003 C++ standard; is equivalent to pragma wchar_type and the command-line option -wchar_t. |
| 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. |
| Expand Trigraphs | Check to recognize trigraph sequences (ISO/ IEC 9899-1990 C, §5.2.1.1); is equivalent to pragma trigraphs and the commandline option -trigraphs. |
| Legacy for-scoping | Check to generate an error message when the compiler encounters a variable scope usage that the ISO/IEC 14882-2003 C++ standard disallows, but is allowed in the C++ language specified in The Annotated C++ Reference Manual ("ARM"); is equivalent to pragma ARM_scoping and the command-line option -for_scoping. |
| Enum Always Int | Check to use signed integers to represent enumerated constants and is equivalent to pragma enumsalwaysint and the command-line option -enum. |
| Use Unsigned Chars | Check to treat char declarations as unsigned char declarations and is equivalent to pragma unsigned_char and the command-line option -char unsigned. |
| 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. |