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.

TMS320F28P650DK: Compilation error including CLAmath.h in the CLA

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi all,

I have with TMS320F28P650DK9 C2000Ware_5_01_00_00.
I am trying to include the CLAmath.h in the CLA; however, the following line

#define tanf(m) (CLAsin_inline(m)/CLAcos_inline(m))

creates the following compilation error:

>> Compilation failure
source/subdir_rules.mk:16: recipe for target 'source/claTask.obj' failed
"C:/ti/ccs1260/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/math.h", line 387: error #18: expected a ")"

Line 387 in math.h is the following line:
_CODE_ACCESS float       tanf(float x);

Commenting it out everything works fine.
Any clues?