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.

CLA INTERNAL ERROR: no match for PLUS



I'm using F28069 with compiler 6.2.6 and in my ClaTasks.cla, I have the following code in task 8 (initialization task):

static float32 VoutSqBuf[RMS_LEN];
//RMS_LEN is #define'd in .h file
//.... tasks 1-7 code interrupt void Cla1Task8 (void) { int32 i; // Flush out RMS buffer for(i=0; i<RMS_LEN; i++) { VoutSqBuf[i]=0.0; } }

I get the following error (line 459 is line 9 here):

>> ../ClaTasks.cla, line 459: INTERNAL ERROR: no match for PLUS

As a workaround, I have to assign a pointer to VoutSqBuf, assigning the value to 0, then increment the pointer, and then reset it to the first element of the buffer after the for loop.

Any ideas why I'm getting this error?