4. Migrating C and C++ Source CodeΒΆ
The process of converting the C/C++ source code for an existing TI C28x application that is built with the cl2000 compiler so that it can be built using the c29clang compiler can be thought of as the process of making your C/C++ source code portable. The cl2000 compiler supports the use of proprietary TI-specific versions of many predefined macro symbols, intrinsics, and pragmas that are not supported by other compilers. The use of such proprietary TI mechanisms will render a program unbuildable by other compilers, including the c29clang compiler.
- 4.1. Migrating Source Code with Clang-Tidy
- 4.2. C/C++ Source Migration Aid Diagnostics
- 4.3. Pre-Defined Macro Symbols
- 4.3.1. Pre-Defined Macro Symbols that are Available in Both cl2000 and c29clang
- 4.3.2. Converting cl2000 Pre-Defined Macro Symbols to c29clang Compatible Form
- 4.3.3. Pre-Defined Macro Symbols in cl2000 that are Not Applicable in c29clang
- 4.3.4. Additional Pre-Defined Macro Symbols Supported in c29clang
- 4.4. Intrinsics and Built-in Functions
- 4.5. Pragmas and Attributes
- 4.6. Migrating CLA Code