找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 920|回復(fù): 2
打印 上一主題 下一主題
收起左側(cè)

這是什么問題,怎么去解決?error C267: 'SectorErase': requires ANSI-style prototype

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
ID:1055548 發(fā)表于 2022-12-4 14:31 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
11.c(4): warning C318: can't open file 'display.h'
11.c(6): warning C318: can't open file 'eeprom52.h'
11.c(7): warning C318: can't open file 'temp.h'
11.c(41): warning C206: 'SectorErase': missing function-prototype
11.c(41): error C267: 'SectorErase': requires ANSI-style prototype
11.c - 1 Error(s), 4 Warning(s).

謝謝大家

分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復(fù)

使用道具 舉報

沙發(fā)
ID:94031 發(fā)表于 2022-12-4 15:31 | 只看該作者
缺相關(guān)頭文件,找到后把路徑告訴KEIL。
回復(fù)

使用道具 舉報

板凳
ID:77589 發(fā)表于 2022-12-5 10:24 | 只看該作者
沒有正確包含eeprom52.h,找不到這個函數(shù)SectorErase
回復(fù)

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機教程網(wǎng)

快速回復(fù) 返回頂部 返回列表