Skip to main content

IAR Embedded Workbench for RL78 5.20

Porting code from EC++ or EEC++

In this section:

Apart from the fact that Standard C++ is a much larger language than EC++ or EEC++, there are two issues that might prevent EC++ and EEC++ code from compiling:

  • The library is placed in namespace std.

    There are two remedy options:

    • Prefix each used library symbol with std::.

    • Insert using namespace std; after the last include directive for a C++ system header file.

  • Some library symbols have changed names or parameter passing.

    To resolve this, look up the new names and parameter passing.