OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2414|回复: 1

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

[复制链接]

1

主题

2

帖子

0

精华

新手上路

积分
28
金钱
28
注册时间
2017-10-15
在线时间
3 小时
发表于 2017-11-13 12:38:52 | 显示全部楼层 |阅读模式
1金钱
D:\MDK\ARM\ARMCC\Bin\..\include\stdio.h(53): error:  #84: invalid combination of type specifiers
      typedef unsigned float size_t;   /* see <stddef.h> */
D:\MDK\ARM\ARMCC\Bin\..\include\stdio.h(88): error:  #65: expected a ";"
      unsigned __float64 __pos;
D:\MDK\ARM\ARMCC\Bin\..\include\stdio.h(95): error:  #84: invalid combination of type specifiers
          unsigned float __state1, __state2;
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(60): error:  #84: invalid combination of type specifiers
      typedef unsigned float size_t;   /* see <stddef.h> */
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(239): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned long float strtoul(const char * __restrict /*nptr*/,
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(299): error:  #84: invalid combination of type specifiers
  extern _ARMABI void srand(unsigned float /*seed*/);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(311): error:  #84: invalid combination of type specifiers
  extern _ARMABI void _srand_r(struct _rand_state *, unsigned float);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(314): error:  #84: invalid combination of type specifiers
  extern _ARMABI void _ANSI_srand_r(struct _ANSI_rand_state *, unsigned float);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(640): error:  #84: invalid combination of type specifiers
  typedef struct __udiv32by16 { unsigned float quot, rem; } __udiv32by16;
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(646): error:  #84: invalid combination of type specifiers
       short float /*denom*/);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(651): error:  #84: invalid combination of type specifiers
       unsigned float /*numer*/,
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(657): error:  #84: invalid combination of type specifiers
       float /*numer_h*/, unsigned float /*numer_l*/,
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.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:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(60): error:  #84: invalid combination of type specifiers
      typedef unsigned float size_t;   /* see <stddef.h> */
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(239): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned long float strtoul(const char * __restrict /*nptr*/,
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(299): error:  #84: invalid combination of type specifiers
  extern _ARMABI void srand(unsigned float /*seed*/);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(311): error:  #84: invalid combination of type specifiers
  extern _ARMABI void _srand_r(struct _rand_state *, unsigned float);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(314): error:  #84: invalid combination of type specifiers
  extern _ARMABI void _ANSI_srand_r(struct _ANSI_rand_state *, unsigned float);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(640): error:  #84: invalid combination of type specifiers
  typedef struct __udiv32by16 { unsigned float quot, rem; } __udiv32by16;
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(646): error:  #84: invalid combination of type specifiers
       short float /*denom*/);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(651): error:  #84: invalid combination of type specifiers
       unsigned float /*numer*/,
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(657): error:  #84: invalid combination of type specifiers
       float /*numer_h*/, unsigned float /*numer_l*/,
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
D:\MDK\ARM\ARMCC\Bin\..\include\stdlib.h(667): error:  #84: invalid combination of type specifiers
  extern _ARMABI unsigned float __fp_status(unsigned float /*mask*/, unsigned float /*flags*/);
D:\MDK\ARM\ARMCC\Bin\..\include\stdio.h(53): error:  #84: invalid combination of type specifiers
      typedef unsigned float size_t;   /* see <stddef.h> */
D:\MDK\ARM\ARMCC\Bin\..\include\stdio.h(88): error:  #65: expected a ";"
      unsigned __float64 __pos;
D:\MDK\ARM\ARMCC\Bin\..\include\stdio.h(95): error:  #84: invalid combination of type specifiers
          unsigned float __state1, __state2;
..\HARDWARE\LCD\lcd.c(778): warning:  #223-D: function "printf" declared implicitly
        printf(" LCD ID:%x\r\n",lcddev.id); //打印LCD ID   
..\HARDWARE\LCD\lcd.c: 1 warning, 15 errors
compiling usart.c...
D:\MDK\ARM\ARMCC\Bin\..\include\stdio.h(53): error:  #84: invalid combination of type specifiers
      typedef unsigned float size_t;   /* see <stddef.h> */
D:\MDK\ARM\ARMCC\Bin\..\include\stdio.h(88): error:  #65: expected a ";"
      unsigned __float64 __pos;
D:\MDK\ARM\ARMCC\Bin\..\include\stdio.h(95): error:  #84: invalid combination of type specifiers
          unsigned float __state1, __state2;
..\SYSTEM\usart\usart.c(52): error:  #147: declaration is incompatible with "float fputc(float, FILE *)" (declared at line 646 of "D:\MDK\ARM\ARMCC\Bin\..\include\stdio.h")
  int fputc(int ch, FILE *f)
..\SYSTEM\usart\usart.c: 0 warnings, 4 errors
"..\OBJ\IIC.axf" - 34 Error(s), 1 Warning(s).

QQ截图20171113123235.png
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

1

主题

15

帖子

0

精华

初级会员

Rank: 2

积分
106
金钱
106
注册时间
2017-9-30
在线时间
11 小时
发表于 2017-11-13 13:27:59 | 显示全部楼层
最下面编译报错的信息可以复制到粘贴版百度搜一下,哪怕查看一下翻译也好,至少知道错在哪。比如这个#65: expected a ";"简单的就是缺少冒号,纯语法问题。其他找大神问一问
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-5-19 04:03

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表