碼上快樂
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