The table below describes the settings used to control Embedded C++ conformance.
| To control this option from here... | use this setting |
|---|---|
| CodeWarrior IDE | EC++ Compatibility Mode in the C/C++ Language Settings panel |
| source code | #pragma ecplusplus |
| command line | -dialect ec++ |
To test for EC++ compatibility mode at compile time, use the __embedded_cplusplus predefined symbol.