1、警告示例
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?_DELAY_N10US?DELAY
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?_DELAY_N1MS?DELAY
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?_DELAY?DELAY
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?UART_INIT?UART
2、编译工具
- KEILC51
3、错误解释
- 警告L16:未调用的段,对于覆盖进程忽略。警告示例中的意思是这几个定义的方法没有调用
4、解决方案
- 间警告中提示没有调用的方法注释即可。