它的警告信息如下:
- Rebuild target 'Target 1'
- assembling STARTUP.A51...
- compiling stc01.c...
- stc01.c(34): warning C206: 'Timer0': missing function-prototype
- linking...
- *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?TIME0?STC01
- *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
- SYMBOL: TIMER0
- MODULE: stc01.obj (STC01)
- *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- SYMBOL: TIMER0
- MODULE: stc01.obj (STC01)
- ADDRESS: 001BH
- Program Size: data=9.0 xdata=0 code=68
- creating hex file from "stc801"...
- "stc801" - 0 Error(s), 4 Warning(s).
复制代码
我只注意到错误数为零,就没有关注警告信息。
|