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.

Compiler: C2000 compiler emits lots of useless warnings/remarks when compiling C++ sources

Tool/software: TI C/C++ Compiler

Every time I compile my project I get lots of useless remarks like these (which I'm ignoring, but I'd prefer a clean compile):

"/Applications/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.2.LTS/include/new.stdh", line 135: remark #885-D: support for placement delete is disabled

"/Applications/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.2.LTS/include/stlport/s__cstddef.h", line 26: remark #195-D: zero used for undefined preprocessing identifier "__GNUC__"

"/Applications/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.2.LTS/include/math.h", line 113: remark #195-D: zero used for undefined preprocessing identifier "__STDC_VERSION__"

These seem to only occur when these headers are included from C++ source files.

All of these should be easy to fix by editing the header files.

I see that someone reported this here back in 2011 for the CGT version 5.2 and it's still an issue in the latest compiler.


e2e.ti.com/.../116537