Use this panel to select compact C++ features of RS08 compiler.
The following table lists and describes the compactC++ options for HCS08.
| Option | Description |
|---|---|
| Disable all compactC++ features (-Cn) | If the -C++ option is enabled, you can disable the compactC++ features.
|
| Do not allow virtual functions (-Cn=Vf) | Virtual functions are not allowed. Avoid having virtual tables that consume a lot of memory |
| Do not allow templates (-Cn=Tpl) | Templates are not allowed. Avoid having many generated functions perform similar operations. |
| Do not allow pointer to member (-Cn=Ptm) | Pointer to member not allowed. Avoid having pointer-to-member objects that consume a lot of memory. |
| Do not allow multiple inheritance and virtual base classes (-Cn=Mih) | Multiple inheritance is not allowed. Avoid having complex class hierarchies. Because virtual base classes are logical only when used with multiple inheritance, they are also not allowed. |
| Do not create compiler defined functions (-Cn=Ctr) | The C++ Compiler can generate several kinds of functions, if necessary:
|
| Do not allow class parameters and class returns (-Cn=Ctr) | Class parameters and class returns are not allowed. Avoid overhead with Copy Constructor and Destructor calls when passing parameters, and passing return values of class type. |