Keil C51错误及其警告大全

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

࢒໕ᐺࡇᇙቧᇦC51FATAL-ERROR–ACTIONcurrentactionLINE:lineinwhichtheerrorisdetectedERROR:correspondingerrormessageC51TERMIANTED.C51FATAL-ERROR–ACTIONcurrentactionFILE:fileinwhichtheerrorisdetectedERROR:correspondingerrormessageC51TERMIANTED.ActionErrorActionsALLOCATINGMEMORYCREATINGLIST-FILE/OBJECT-FILE/WORKFILEOBJGENERATINGINTERMEDIATECODEOPENINGINPUT-FILEPARSINGINVOKE-/#PRAGMA-LINE#pragmaPARSINGSOURCE-FILE/ANALYZINGDECLARATIONSWRITINGTOFILEOBJErrors‘(‘AFTERCONTROLEXPECTED‘)’AFTERPARAMETEREXPECTEDBADDIGITINNUMBERCAN’TCREATEFILEFILECAN’THAVEGERERALCONTROLININVOCATIONLINEEJECT#pragmaFILEDOESNOTEXISTFILEFILEWRITE-ERRORIDENTIFIEREXPECTEDDEFINEDEFINECMEMORYSPACEEXHAUSTEDMORETHAN100ERRORSINSOURCE-FILE100MORETHAN256SEGMENTS/EXTERNALS256256INTELOMF-51/bitOBJNON-NULLARGUMENTEXPECTEDOUTOFRANGENUMBEROPTIMIZE067PARSESTACKOVERFLOW31PREPROCESSORLINETOOLONG32K32KPREPROCESSORMACROSTOONESTEDRESPECIFIEDORCONFLICTINGCONTROLSOURCEMUSTCOMEFROMADISK-FILECONCIUNKNOWNCONTROLOBJ***ERRORnumberINLINElineOFfile:errormessagenumberlinefileerrormessage1000x??1011024096\4096103\ccASCII1252020[]*126126125127autoregister129130usinginterruptusing03interrupt031131132charfunction(v0,v1,v2)char*v0,*v1,*v5;/*‘v5’*/{/*…*/}134xdata/idata/pdata/datacodecode135bitbitstaticexternregisteralien136voidvoidvoidfunc(void)void*138Interrupt()140bitdatadatabit141…142sfrsbit0x800xFF^8143sbit0x800xFF144^sbit07145sfr146sfr^sfr1476553564K-1149struct/unionstructunion150struct/unionbitunionbit8051151struct/union152153154155char/intcharintunsignedcharunsignedint156alien157alienalienPL/M-51char*,…alienPL/M-51158159voidintfunc(void)void160voidvoid161externyylex(a,b,c);180181~float_type183codeconst184sizeofsizeof185186187188void189&bit/sfr’&’bitsfr190&193193ptradd/sub193bit193bit*bitptr+ptrptr*anythingbitƒ=ƒOR/OR||=ƒAND/AND&&=ƒXOR/XOR^^=ƒbit==!=ƒ~bit194**void195**196char*p=0x91234198sizeofsizeof199-’struct/union-structunion200.struct/union.structunion201struct/unionstructunion202203204structunion205207voidvoid20820921010211212Cx51213214bitfloat215struct/union/void216217charunsignedcharintunsignedint218voidwhilefordovoid219longintint220221case/dimcase[]222223225226struct/union/enumstructunionenum227unionunion228structstruct229enumenum230struct/union/enumstructunionenum231232233234{3131235236237238239struct240128bit128bit241autoSMALL128COMPACT256LARGE65535242243244bitsfr245pragma#pragma2463232IEEE±1.175494E-38±3.402823E+38247/248structunion{}249250\esc255255252252C#include253ASMGEN\CLASSƒ_testbit_INTRINS.HSTRING.HinstrinsicƒCx51255switchswitch256aliensmallalienalienalienplm_func(charc)large{…}256257alienalienreentrantalienalien258struct/unionstructvp{charcodec;intxdatai;};258structv1{charc;intxdata*i;};struct259charxdata*p1;charidata*p2;p1=p2;/**/260charidata*p1=0x1234;/*0x34*/261reentrant()bitbitintfunc1(inti1)reentrant{bitb1,b2;/**/return(i1-1);}262using/disablebitusing#pragmadisablebitbittest(void)using3{bitb0;return(b0);}262263//#pragmasavepragmasaverestoreLIFO264/.HCx51.H265267ANSI268ID//using271asm/endasmasmendasmendasmasm#pragmaasm......#pragmaendasm272asmSRCasmendasmSRCA51273asm/endasmasmendasm2740x000xFFidataint_at_0x1000;2783232IEEE±1.175494E-38±3.402823E+38279280//281282SFRSFR283asmparmsCPU284300*/301302##303#304305string/char306307308if/elif309include3102020311elif/else312endifelifelseendifififdefifndef313#undef314##if/define/ifdef…315#316endifififdef318319320#error#error320321include#includestdio.h325326####3275050***WARNINGnumberINLINElineOFfile:warningmessagenumberlinefilewarningmessage173intint182185196longunsignedlong243168198sizeof206209219longintint245pragma#pragma258struct/unionstructvp{charcodec;intxdatai;};258structv1{charc;intxdata*i;};struct259260261bitreentrantbitbit265/271asm/endamsasmendasmendasmasm#pragmaasm......#pragmaendasm275voidtest(void){inti1,i2,i3;i1,i2,i3;/**/i1i3;/**/}276voidtest(void){inti1,i2,i3;if(i1=1)i2=3;/**/while(i3=2);/**/}277typedeftypedefcharxdataXCC;/*xdata*/typedefXCCidataPICC;/**/280/307317138322#ifFALSE323##includestdio.hfoo324#line#line

1 / 20
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功