标题: 这是什么问题,怎么去解决?error C267: 'SectorErase': requires ANSI-style prototype [打印本页]

作者: 窝窝头1    时间: 2022-12-4 14:31
标题: 这是什么问题,怎么去解决?error C267: 'SectorErase': requires ANSI-style prototype
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).

谢谢大家


作者: xuyaqi    时间: 2022-12-4 15:31
缺相关头文件,找到后把路径告诉KEIL。
作者: Longan.Wang    时间: 2022-12-5 10:24
没有正确包含eeprom52.h,找不到这个函数SectorErase




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1