This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compilation error moving from TI ARM Compiler v5.2.7 to v15.12.2.LTS, 16.3.0.STS



Hi,

I'm currently having trouble compiling a project targeted for a TM4C129 with v15.12.2.LTS and 16.3.0.LTS of the TI ARM C compiler. It compiles fine on v5.2.7, but I get the errors below on the latest 2015/2016 compilers. Could somebody direct me as to why these are being redefined?

  • That code is only meant to be compiled if you are compiling a file as a C++ file, but based on the options shown, you aren't compiling in C++ mode. This code is guarded by conditional compilation directives that should prevent it from being compiled in C mode. I see you also have a warning message about an incompatible redefinition of _STLP_VENDOR_CSTD, which is quite alarming to me; you should not see any redefinitions of that macro. Something is wrong with the definition of macros in this program, but I can't determine exactly what.

    Please compile just that C file with the same options, but add the option --gen_acp_raw
    This will create a file that will help us debug the problem.