已回答假定已回答

ADuCM360 官例程 编译不通过。

lzp2008 在 2013-11-22 詢問的問題
最後回覆由ADI_XUN於2013-11-26提供

Building configuration: Adc - Debug

Updating build tree...

AdcLib.c ADCMeter.c ClkLib.c DacLib.c DioLib.c DmaLib.c GptLib.c IexcLib.c IntLib.c RstLib.c UrtLib.c WdtLib.c WutLib.c 

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned  C:\Documents and Settings\Administrator\桌面\ADuCM360_361_Code_Examples_Function_Libraries\ADuCM360361 code examples and function libraries\common\core_cm3.h 1163

short const volatile *)" (declared at line 181 of "D:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\

intrinsics.h")

Error while running C/C++ Compiler

 

Total number of errors: 13

Total number of warnings: 0

这是什么问题呢?

結果