关于*** WARNING L13: RECURSIVE CALL TO SEGMENT问题的解决办法!

2020-01-26 13:04发布

是关于傻孩子菜单:
1.jpg (23.67 KB, 下载次数: 0) 下载附件 2012-4-9 21:32 上传   
这些数据如果定义在data区,调用DataSetFuc函数则不会出现*** WARNING L13: RECURSIVE CALL TO SEGMENT这个警告
但是因为89C52的内存有限所以定义在Code区。
这不:
*** WARNING L13: RECURSIVE CALL TO SEGMENT
    SEGMENT: ?CO?MAIN
    CALLER:  ?PR?_DS1302TIMEREAD?MAIN
*** WARNING L13: RECURSIVE CALL TO SEGMENT
    SEGMENT: ?CO?MAIN
    CALLER:  ?PR?_LCD1602WRITESTRING?MAIN
*** WARNING L13: RECURSIVE CALL TO SEGMENT
    SEGMENT: ?CO?MAIN
    CALLER:  ?PR?TIMESETFUC?MAIN
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?DS1302INITIAL?MAIN
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?KEYBORDSCAN?MAIN
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?TIMEDISPLAYFUC?MAIN
Program Size: data=9.2 xdata=50 code=6176
creating hex file from "CLockV1.2Project"...
"CLockV1.2Project" - 0 Error(s), 6 Warning(s).

3个递归调用的警告:

请问为什么,程序里并没有调用自己也没被中断调用的啊?该如何解决啊??
0条回答

一周热门 更多>