Hello,
I'm using the ccs1011 ti-cgt-c2000_21.6.0 compiler to compile a project. I have an error in the _ti_config.h file and I don't know what is causing it :
"C:\\ti\\ccs1011\\ccs\\tools\\compiler\\ti-cgt-c2000_21.6.0.LTS\\include\\_ti_config.h",line 54: error #1212:
this pragma cannot be used in a _Pragma operator (a #pragma directive must be used)
_Pragma("diag_push")
Before this error, I have several warning :
[C:\ti\ccs1011\ccs\tools\compiler\ti-cgt-c2000_21.6.0.LTS\include/stddef.h:53] Syntax error: typedef __PTRDIFF_T_TYPE__ ptrdiff_t;
[C:\ti\ccs1011\ccs\tools\compiler\ti-cgt-c2000_21.6.0.LTS\include/stddef.h:59] Syntax error: typedef __SIZE_T_TYPE__ size_t;
[C:\ti\ccs1011\ccs\tools\compiler\ti-cgt-c2000_21.6.0.LTS\include/stddef.h:75] Syntax error: typedef __WCHAR_T_TYPE__ wchar_t;
The project is generated from a scade model. Unfortunately I can't share any part of the code here. If someone knows what can cause this compilation error it would really help me.
Thanks,
Sébastien.