This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error: #40: expected an identifier

Error: #40: expected an identifier
------------------------------------------
typedef enum
{ WITH_A = 0, /* Comment 1*/

WITH_B, /* Comment 2 */

WITH_B, /* Comment 3 */

WITH_C, /* Comment 4 */ /* Comment 5 */

WITH_D, /* Comment 6 */

WITH_E, /* Comment 7 */

WITH_MAX = 0xFFFF
} abc;

I'm getting the below mentioned error
"file1.c", line 761: Error: #40: expected an identifier

WITH_D,
^

"file1.c", line 764: Error: #40: expected an identifier

WITH_E,
^

I'm using RVCT2.21P593 Compiler

0