本帖最后由 fangfei036 于 2012-5-24 21:51 编辑
55# Tinnal
Build D:\PICC\tes\led1\tes1 for device 16F877A
Using driver d:\Program Files\HI-TECH Software\PICC\LITE\9.60\bin\picl.exe
Executing: "d:\Program Files\HI-TECH Software\PICC\LITE\9.60\bin\picl.exe" -C D:\PICC\tes\led1\t1.c --chip=16F877A -P --opt=default -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [345] D:\PICC\tes\led1\t1.c; 46.28 unreachable code
Warning [343] D:\PICC\tes\led1\t1.c; 46.34 implicit return at end of non-void function
Executing: "d:\Program Files\HI-TECH Software\PICC\LITE\9.60\bin\picl.exe" -otes1.cof -mtes1.map --runtime=default,-clear,-init,-keep,-osccal,-download,-ramtest,-resetbits t1.obj --chip=16F877A -P --opt=default -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Memory Summary:
Program space used 64h ( 100) of 800h words ( 4.9%)
Data space used 11h ( 17) of B0h bytes ( 9.7%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Configuration bits used 0h ( 0) of 1h word ( 0.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
Loaded D:\PICC\tes\led1\tes1.cof.
tinnal大哥,刚刚的运行的结果也是没有问题的
附件是添加一个标志后的程序,但是编译出现了两个警告,
刚刚打问号,是因为叶侠说有一个警告,为啥我编译木有呢?所以打了个问号 |