Tool/software:
Greetings,
Our projects are written in C++, and we use the “Treat C files as C++ files (--cpp_default, -fg)” Language mode. Now we are trying to add a cla file to the project. This causes the complier to try to build the CLA file as a cpp file and fails with:
C++ source files are not allowed for CLA
If the "Treat C files as C++ files (-cpp_default, -fg)" box is unchecked, it still fails with:
#35 #error directive: "Header file <stdlib.h> not supported by CLA compiler" .ccsproject /<project_name> line 47, external location: C:\ti\ccs1250\ccs\tools\compiler\ti-cgt-c2000_22.6.1.LTS\include\stdlib.h C/C++ Problem
But the CLA file does not use stdlib.h, and I can’t find any option which would auto-include it.
Is there an option which would force the cla files to be treated as C files?
Thank you,
Ed