碼上歡樂
首頁
榜單
標簽
關於
搜索
相關內容
簡體
繁體
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出錯解決方法
error: invalid use of incomplete type
error: invalid use of incomplete type
KEIL軟件中編譯時出現的Error L6200E: symbol multiply defined ...的解決方法
Keil5中出現中文亂碼的解決方法
加密過程中 last block incomplete in decryption 報這個錯!解決方法
error: incomplete type ‘’ used in nested name specifier
keil5下載程序時出現“internal command error”解決方法
Keil 5出現Error: L6218E: Undefined symbol解決方法
粵ICP備18138465號
© 2018-2025 CODEPRJ.COM