出现如下错误是什么原因啊!?

*** WARNING L14: INCOMPATIBLE MEMORY MODEL MODULE: .\CH375HF6.LIB (CH375BYT) MODEL: SMALL *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILEENUMER?CH375HFTLAO *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILEQUERY?CH375HFTLAO *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?_BYTE_READ?CH375HFTLAO *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?_SECTOR_ERASE?CH375HFTLAO *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?_BYTE_PROGRAM?CH375HFTLAO *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?_CH450_BUF_INDEX?CH375HFTLAO *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?_MSTOPIFERROR?CH375HFTLAO *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILECLOSE?CH375MAI *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILECREATE?CH375MAI *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375DISKREADY?CH375MAI *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375BYTEREAD?CH375BYT Program Size: data=198.7 xdata=838 code=10591 创建 HEX 文件 "main" ... "main" - 0 个错误, 12 个警告。

这个警告只是告诉你这些函数在库里面你没有去调用,应该不影响你的使用


*** WARNING L14: INCOMPATIBLE MEMORY MODEL MODULE: .\CH375HF6.LIB (CH375BYT) MODEL: SMALL 关键是这个警告 是什么愿意啊!


这个警告是你编译的是采用LARGE模式,而实际我们的库是采用SMALL模式,你可以采用库C,这个是是LARGE模式编译的


只有登录才能回复,可以选择微信账号登录