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.

TMS320F28069: __cplusplus is defined but compiling C

Part Number: TMS320F28069


Hi,

I'm trying to compile a program in C. I'm not using any C++ code, but I see that the symbol __cplusplus is defined and seems to be affecting some low level. The only place I see this symbol is used is here:

I'm not using any C++ sources. Is there anyway I can remove this? Any way of disabling C++ compilation? Rigth now the only thing I can think of is inserting this:

#undef __cplusplus