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.

C2000 MCU - compiler flags wrong errors at wrong lines [SHOWSTOPPER]



This one is a showstopper.

C2000 MCU.. 99% of the files compile fine. Main.c shows a huricane of errors, so I go to look at:

"../ameristar_F28069_Loop/main.c", line 623: error #20: identifier "LOOP1_OPENPERIODMIN" is undefined

"../ameristar_F28069_Loop/main.c", line 624: error #20: identifier "LOOP_SHORTED" is undefined

..Well, those two lines have nothuing like that on them:


623

624 * fault check, this will notify M3 (from 2Hz interrupt) and freeze reference

625 * update if fault found for now wait for first reference update to avoid setting fault*/

626 if (allLoopReg.loop1.trackingVar.ReferenceCount != 0) {

That's right, 623 is a BLANK LINE, and 624 is a COMMENT.

In fact, the other 20 errors are all the same, on lines that have nothing whatsoever to do with the error.

Can anyone offer an explanation for this, or even better, a cure?  CCS6, compiler version updated yesterday.