我现在用6.4版本的IAR来编译之前版本的工程,编译后报错如下
Error[Pe147]: declaration is incompatible with "__interwork __softfp uint32_t __get_MSP(void)" (declared at line 1105 of "H:\CPU-V3\CPU\OS-Gamma_Protable\..\Gamma_Protable\core_cm3.h") C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.4\arm\inc\c\intrinsics.h 50
Error[Pe147]: declaration is incompatible with "__interwork __softfp void __set_MSP(uint32_t)" (declared at line 1115 of "H:\CPU-V3\CPU\OS-Gamma_Protable\..\Gamma_Protable\core_cm3.h") C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.4\arm\inc\c\intrinsics.h 51
Error[Pe147]: declaration is incompatible with "__interwork __softfp uint32_t __get_PSP(void)" (declared at line 1085 of "H:\CPU-V3\CPU\OS-Gamma_Protable\..\Gamma_Protable\core_cm3.h") C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.4\arm\inc\c\intrinsics.h 52
等,这么8条,我也根据网上有人提供的解决办法尝试过,但是一直有问题,比如这个链接中提到的方法http://www.amobbs.com/thread-5477350-1-1.html
http://www.amobbs.com/thread-5172279-1-1.html
http://www.cnblogs.com/ele-eye/archive/2011/11/28/2266229.html
如何**? |