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.

Compiler/TM4C1294NCPDT: Support for C++: enum class issue

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL

Tool/software: TI C/C++ Compiler

Hi,

I am using CCS v6 for embedded application development on TI-RTOS for microcontroller TM4C1294NCPDT using C++.

I am using enum class as below:

enum class BitNumbers
{
 Bit0,
 Bit1,
 Bit2,
 Bit3,
 Bit4,
 Bit5,
 Bit6,
 Bit7
};

Below errors occurred after compilation:

error #111: expected either a definition or a tag name

error #41: expected an identifier

error #66: expected a ";"

warning #12-D: parsing restarts here after previous syntax error

Please help me to resolve these errors.

Thanking you in advance.

Regards,

Harshal