WATCOM软件使用疑问
WATCOM软件不是号称基于 DOS 系统的编译器吗?为什么连这些基本的 中断程序也不能运行?
以前一个在TC 下编译通过的软件,现在使用WATCOM软件,出来下面的错误:
show_time1.c(32): Warning! W102: Type mismatch (warning)
show_time1.c(32): Note! N2003: source conversion type is 'int '
show_time1.c(32): Note! N2004: target conversion type is 'void (__interrupt *)()'
show_time1.c(34): Warning! W131: No prototype found for function 'setvect'
show_time1.c(33): Warning! W131: No prototype found for function 'disable'
show_time1.c(32): Warning! W131: No prototype found for function 'getvect'
show_time1.c(58): Warning! W131: No prototype found for function 'bioskey'
show_time1.c(71): Warning! W131: No prototype found for function 'clrscr'
show_time1.c(35): Warning! W131: No prototype found for function 'enable'
----------------解决方案--------------------------------------------------------