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.

EK-TM4C123GXL: CCS C compiler restriction

Part Number: EK-TM4C123GXL

Tried to write a for loop yesterday:

for (int i = 0; i < qBitsAvailable; i++)

...

The compiler would not allow a type specifier for the iterator inside the for statement, it had to be previously defined. Is there a compiler switch for such?

Thanks,

John