DSP

CCS3.3中编译出现错误 line 18: error: expected an identif

2019-07-13 19:09发布

"../include_all/evmomapl138_emif.h", line 18: error: expected an identifier
"../include_all/evmomapl138_emif.h", line 18: error: expected a type specifier
"../include_all/evmomapl138_emif.h", line 18: error: a function type is not allowed here
错误如上,点击错误,程序跳转到:    volatile uint32_t REVID;               // 0x0000

经过查找发现在另外一个头文件C6747.h中有了REVID 的宏定义,去掉该宏定义,编译成功。