码上快乐
1秒登录
首页
榜单
标签
关于
搜索
相关内容
简体
繁体
keil中error: #70: incomplete type is not allowed—解决方法
本文转载自
查看原文
2019-12-07 17:37
422
MDK
今天在写程序的时候,想使用sizeof求数组的大小,数组中其他c文件定义,在头文件使用extern uint8_t buff_value[]; 声明
但是keil编译报错,网上查了,发现,需要写成extern uint8_t buff_value[30];把数组的大小固定了,才能编译通过。
×
免责声明!
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。
猜您在找
incomplete type is not allowed
Keil出错解决方法
keil5下载程序时出现“internal command error”解决方法
Keil 5出现Error: L6218E: Undefined symbol解决方法
Sitemap Error : XML declaration allowed only at the start of the document解决方法
Keil 2032 license 解决方法(keygen)
host is not allowed to connect mysql解决方法
【转】Error type 3 类型错误,Error: Activity class {} does not exist.Error while Launching activity解决方法
Qt error ------ incomplete type 'QApplication' used in nested name specifier
error: variable 'std::ifstream ifs' has initializer but incomplete type
粤ICP备18138465号
© 2018-2025 CODEPRJ.COM