最近在使用PIC16F946做项目,但编译时发现有以下报错一直未能解决,PICC9.80,9.83,9.81都试过了,报相同的错误,请大家帮忙看看.
Clean: Deleting intermediary and output files.
Clean Warning: File "E:\MPLAB For PIC\COR720-09A\COR720\COR720-on pluse.p1" doesn't exist.
Clean: Done.
Build E:\MPLAB For PIC\COR720-09A\COR720\COR720 for device 16F946
Using driver C:\Program Files\HI-TECH Software\PICC\9.80\bin\picc.exe
Executing: "C:\Program Files\HI-TECH Software\PICC\9.80\bin\picc.exe" --pass1 "E:\MPLAB For PIC\COR720-09A\COR720\COR720-on pluse.C" -q --chip=16F946 -P --runtime=default,+clear,+init,-keep,+osccal,-download,-resetbits,-stackcall,+clib --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -D__DEBUG=1 --double=24 --float=24 --addrqual=ignore -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [374] C:\Program Files\HI-TECH Software\PICC\9.80\include\pic16f946.h; 14.1 missing basic type; int assumed
Error [314] C:\Program Files\HI-TECH Software\PICC\9.80\include\pic16f946.h; 14.1 ";" expected
********** Build failed! **********
|