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.

ARM-CGT: Including <_atomic.h> issues remarks

Part Number: ARM-CGT
Other Parts Discussed in Thread: TMS570LS3137

Tool: TI CGT ARM 20.2.4.LTS 

Target: TMS570LS3137 

If <array> file is included into a .cpp file, it later includes <_atomic.h>, compilation of which issues the following remarks:

 "C:\ti\ccs1020\ccs\tools\compiler\ti-cgt-arm_20.2.4.LTS\bin\..\include\_atomic.h", line 97: remark #880-D: parameter "ptr" was never referenced

"C:\ti\ccs1020\ccs\tools\compiler\ti-cgt-arm_20.2.4.LTS\bin\..\include\_atomic.h", line 103: remark #880-D: parameter "ptr" was never referenced  

Including <_atomic.h> file into a .c file issues additional remark: 

"C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/_atomic.h", line 410: remark #270-D: declaration may not appear after executable statement in block  

I consider this as a bug for the compiler, and it should be resolved by TI.