下午编译时还都正常,就是说出的错我都看的懂,这个错误我就是不太明白,请各位高手指点,谢谢! 以下是提示信息: compiling 1820led.c... C51 COMPILER V7.00 - SN: K1DZP-5IUSHE COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2002 C51 FATAL-ERROR - ACTION: GOBAL OPTIMIZATION FUNCTION: ReadTemperature ERROR: CANNOT OPTIMIZE FUNCTION COMPILATION TERMINATED. use the following work-around: #pragma OPTIMIZE (7) /* your original function */ ReadTemperature () { .... } /* end of your original function */ #pragma OPTIMIZE (8) 1820led.c - 0 Error(s), 0 Warning(s). |