求助!搞了半天。。IAR软件 编译的时候string.h 出错。
时间:10-02
整理:3721RD
点击:
__INTRINSIC MEMORY_ATTRIBUTE void *memcpy(void *, const void *, size_t);
错误信息:Error[Pe077]: this declaration has no storage class or type specifier C:\Program Files\IAR Systems\Embedded Workbench 5.3 Evaluation version\8051\INC\CLIB\string.h 33
Error[Pe065]: expected a ";" C:\Program Files\IAR Systems\Embedded Workbench 5.3 Evaluation version\8051\INC\CLIB\string.h 33
错误信息:Error[Pe077]: this declaration has no storage class or type specifier C:\Program Files\IAR Systems\Embedded Workbench 5.3 Evaluation version\8051\INC\CLIB\string.h 33
Error[Pe065]: expected a ";" C:\Program Files\IAR Systems\Embedded Workbench 5.3 Evaluation version\8051\INC\CLIB\string.h 33
Error[Pe065]: expected a ";"
找找是不是有非法字符。
看看
__INTRINSIC MEMORY_ATTRIBUTE
是在那里定义的,将头文件包含进去