求助,所有F407配套程序编译出现下面差不多的问题怎么 回事 ,望大神们给予帮助

2019-07-20 11:01发布

D:MDKARMARMCCBin..includestdio.h(53): error:  #84: invalid combination of type specifiers
      typedef unsigned float size_t;   /* see <stddef.h> */
D:MDKARMARMCCBin..includestdio.h(88): error:  #65: expected a ";"
      unsigned __float64 __pos;
D:MDKARMARMCCBin..includestdio.h(95): error:  #84: invalid combination of type specifiers
          unsigned float __state1, __state2;
D:MDKARMARMCCBin..includestdlib.h(60): error:  #84: invalid combination of type specifiers
      typedef unsigned float size_t;   /* see <stddef.h> */
D:MDKARMARMCCBin..includestdlib.h(239): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned long float strtoul(const char * __restrict /*nptr*/,
D:MDKARMARMCCBin..includestdlib.h(299): error:  #84: invalid combination of type specifiers
  extern _ARMABI void srand(unsigned float /*seed*/);
D:MDKARMARMCCBin..includestdlib.h(311): error:  #84: invalid combination of type specifiers
  extern _ARMABI void _srand_r(struct _rand_state *, unsigned float);
D:MDKARMARMCCBin..includestdlib.h(314): error:  #84: invalid combination of type specifiers
  extern _ARMABI void _ANSI_srand_r(struct _ANSI_rand_state *, unsigned float);
D:MDKARMARMCCBin..includestdlib.h(640): error:  #84: invalid combination of type specifiers
  typedef struct __udiv32by16 { unsigned float quot, rem; } __udiv32by16;
D:MDKARMARMCCBin..includestdlib.h(646): error:  #84: invalid combination of type specifiers
       short float /*denom*/);
D:MDKARMARMCCBin..includestdlib.h(651): error:  #84: invalid combination of type specifiers
       unsigned float /*numer*/,
D:MDKARMARMCCBin..includestdlib.h(657): error:  #84: invalid combination of type specifiers
       float /*numer_h*/, unsigned float /*numer_l*/,
D:MDKARMARMCCBin..includestdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
D:MDKARMARMCCBin..includestdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
D:MDKARMARMCCBin..includestdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
main.c: 0 warnings, 15 errors
compiling lcd.c...
D:MDKARMARMCCBin..includestdlib.h(60): error:  #84: invalid combination of type specifiers
      typedef unsigned float size_t;   /* see <stddef.h> */
D:MDKARMARMCCBin..includestdlib.h(239): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned long float strtoul(const char * __restrict /*nptr*/,
D:MDKARMARMCCBin..includestdlib.h(299): error:  #84: invalid combination of type specifiers
  extern _ARMABI void srand(unsigned float /*seed*/);
D:MDKARMARMCCBin..includestdlib.h(311): error:  #84: invalid combination of type specifiers
  extern _ARMABI void _srand_r(struct _rand_state *, unsigned float);
D:MDKARMARMCCBin..includestdlib.h(314): error:  #84: invalid combination of type specifiers
  extern _ARMABI void _ANSI_srand_r(struct _ANSI_rand_state *, unsigned float);
D:MDKARMARMCCBin..includestdlib.h(640): error:  #84: invalid combination of type specifiers
  typedef struct __udiv32by16 { unsigned float quot, rem; } __udiv32by16;
D:MDKARMARMCCBin..includestdlib.h(646): error:  #84: invalid combination of type specifiers
       short float /*denom*/);
D:MDKARMARMCCBin..includestdlib.h(651): error:  #84: invalid combination of type specifiers
       unsigned float /*numer*/,
D:MDKARMARMCCBin..includestdlib.h(657): error:  #84: invalid combination of type specifiers
       float /*numer_h*/, unsigned float /*numer_l*/,
D:MDKARMARMCCBin..includestdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
D:MDKARMARMCCBin..includestdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
D:MDKARMARMCCBin..includestdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
D:MDKARMARMCCBin..includestdio.h(53): error:  #84: invalid combination of type specifiers
      typedef unsigned float size_t;   /* see <stddef.h> */
D:MDKARMARMCCBin..includestdio.h(88): error:  #65: expected a ";"
      unsigned __float64 __pos;
D:MDKARMARMCCBin..includestdio.h(95): error:  #84: invalid combination of type specifiers
          unsigned float __state1, __state2;
..HARDWARELCDlcd.c(778): warning:  #223-D: function "printf" declared implicitly
        printf(" LCD ID:%x ",lcddev.id); //打印LCD ID   
..HARDWARELCDlcd.c: 1 warning, 15 errors
compiling usart.c...
D:MDKARMARMCCBin..includestdio.h(53): error:  #84: invalid combination of type specifiers
      typedef unsigned float size_t;   /* see <stddef.h> */
D:MDKARMARMCCBin..includestdio.h(88): error:  #65: expected a ";"
      unsigned __float64 __pos;
D:MDKARMARMCCBin..includestdio.h(95): error:  #84: invalid combination of type specifiers
          unsigned float __state1, __state2;
..SYSTEMusartusart.c(52): error:  #147: declaration is incompatible with "float fputc(float, FILE *)" (declared at line 646 of "D:MDKARMARMCCBin..includestdio.h")
  int fputc(int ch, FILE *f)
..SYSTEMusartusart.c: 0 warnings, 4 errors
"..OBJIIC.axf" - 34 Error(s), 1 Warning(s).

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。