KEIL软件错误代码及错误信息.docx

上传人:b****4 文档编号:24630119 上传时间:2023-05-29 格式:DOCX 页数:22 大小:26.80KB
下载 相关 举报
KEIL软件错误代码及错误信息.docx_第1页
第1页 / 共22页
KEIL软件错误代码及错误信息.docx_第2页
第2页 / 共22页
KEIL软件错误代码及错误信息.docx_第3页
第3页 / 共22页
KEIL软件错误代码及错误信息.docx_第4页
第4页 / 共22页
KEIL软件错误代码及错误信息.docx_第5页
第5页 / 共22页
点击查看更多>>
下载资源
资源描述

KEIL软件错误代码及错误信息.docx

《KEIL软件错误代码及错误信息.docx》由会员分享,可在线阅读,更多相关《KEIL软件错误代码及错误信息.docx(22页珍藏版)》请在冰豆网上搜索。

KEIL软件错误代码及错误信息.docx

KEIL软件错误代码及错误信息

错误代码及错误信息错误释义

error1:

Outofmemory内存溢出

error2:

Identifierexpected缺标识符

error3:

Unknownidentifier未定义的标识符

error4:

Duplicateidentifier重复定义的标识符

error5:

Syntaxerror语法错误

error6:

Errorinrealconstant实型常量错误

error7:

Errorinintegerconstant整型常量错误

error8:

Stringconstantexceedsline字符串常量超过一行

error10:

Unexpectedendoffile文件非正常结束

error11:

Linetoolong行太长

error12:

Typeidentifierexpected未定义的类型标识符

error13:

Toomanyopenfiles打开文件太多

error14:

Invalidfilename无效的文件名

error15:

Filenotfound文件未找到

error16:

Diskfull磁盘满

error17:

Invalidcompilerdirective无效的编译命令

error18:

Toomanyfiles文件太多

error19:

Undefinedtypeinpointerdef扌旨卒十定义中未定义类

error20:

Variableidentifierexpected缺变量标识符

error21:

Errorintype类型错误

error22:

Structuretoolarge结构类型太长

error23:

Setbasetypeoutofrange集合基类型越界

error24:

Filecomporientsmaynotbefilesorobjectsfile分量

不能是文件或对象

error25:

Invalidstringlength无效的字符串长度

error26:

Typemismatch类型不匹配

error27:

error27:

Invalidsubrangebasetype无效的子界基

类型

error28:

Lowerboundgreaterthanupperbound下界超过上

error29:

Ordinaltypeexpected缺有序类型

error30:

Integerconstantexpected缺整型常量

error31:

Constantexpected缺常量

error32:

Integerorrealconstantexpected缺整型或实型常

error33:

PointerTypeidentifierexpected缺指针类型标识符

error34:

Invalidfunctionresulttype无效的函数结果类型

error35:

Labelidentifierexpected缺标号标识符

error36:

BEGINexpected缺BEGIN

error37:

ENDexpected缺END

error38:

Integerexpressionexpected缺整型表达式error39:

Ordinalexpressionexpected缺有序类型表达式error40:

Booleanexpressionexpected缺布尔表达式error41:

Operandtypesdonotmatch操作数类型不匹配error42:

Errorinexpression表达式错误

error43:

Illegalassignment非法赋值

error44:

Fieldident谄erexpected缺域标识符

error45:

Objectfiletoolarge目标文件太大

error46:

Undefinedexternal未定义的外部过程与函数

error47:

Invalidobjectfilerecord无效的OBJ文件格式

error48:

Codesegmenttoolarge代石马段太长

error49:

Datasegmenttoolarge数据段太长

error50:

DOexpected缺DO

error51:

InvalidPUBLICdefinition无效的PUBLIC定义

error52:

InvalidEXTRNdefinition无效的EXTRN定义

error53:

ToomanyEXTRNdefinitions太多的EXTRN定义error54:

OFexpected缺OF

error55:

INTERFACEexpected缺INTERFACE

error56:

Invalidrelocatablereference无效的可重定位引用

error57:

THENexpected缺THEN

error58:

TOorDOWNTOexpected缺TO或DOWNTO

error59:

Undefinedforward提前引用未经定义的说明

error61:

Invalidtypecast无效的类型转换

error62:

Divisionbyzero被寒除

error63:

Invalidfiletype无效的文件类型

error64:

Cannotreadorwritevariablesofthistype不能读写

此类型变量

error65:

Pointervariableexpected缺指针类型变量

error66:

Stringvariableexpected缺字符串变量

error67:

Stringexpressionexpected缺字符串表达式

error68:

Circularunitreference单元UNIT部件循环引用

error69:

Unitnamemismatch单元名不匹配

error70:

Unitversionmismatch单元版本不匹配

error71:

Internalstackoverflow内部堆栈溢出

error72:

Unitfileformaterror单元文件格式错误

error73:

IMPLEMENTATIONexpected缺IMPLEMENTATION

error74:

Constantandcasetypesdonotmatch常量和CASE

类型不匹配

error75:

Recordorobjectvariableexpected缺1己录或对象变

error76:

Constantoutofrange常量越界

error77:

Filevariableexpected缺文件变量

error78:

Pointerexpressionexpected缺指针表达式

error79:

Integerorrealexpress!

onexpected缺整型或实型表

达式

error80:

Labelnotwithincurrentblock标号不在当前块内

error81:

Labelalreadydefined标号已定义

error82:

Undefinedlabelinprecedingstatementpart在前面

未定义标号

error83:

Invalid@argument无效的@参数

error84:

UNITexpected缺UNIT

error85:

”;”expected缺“;”

error86:

“:

”expected缺“:

error87:

expected缺“

error88:

"Cexpected缺“(”

error89:

")”expected缺“)"

error90:

”二”expected缺“="

error91:

“:

二”expected缺

error92:

"["or"(•"Expected缺“[”或“(・”

error93:

"]"or"・)”expected缺“〕”或"・)”

error94:

expected缺

error95:

"・・"expected缺

error96:

Toomanyvariables变量太多

error97:

InvalidFORcontrolvariable无效的FOR循环控制变

error98:

Integervariableexpected缺整型变量

error99:

Filesandproceduretypesarenotallowedhere该处

不允许文件和过程类型

error100:

Stringlengthmismatch字符串长度不匹配

error101:

Invalidorderingoffields无效域顺序

error102:

Stringconstantexpected缺字符串常量

error103:

Integerorrealvariableexpected缺整型或实型变

error104:

Ordinalvariableexpected缺有序类型变量

error105:

INLINEerrorINLINE错误

error106:

Characterexpressionexpected缺字符表达式

error107:

Toomanyrelocationitems重定位项太多

error108:

Overflowinarithmeticoperation算术运算溢出

error112:

CASEconstantoutofrangeCASE常量越界

error113:

Errorinstatement表达式错误

error114:

Cannotcallaninterruptprocedure不能调用中斷过

error116:

Mustbein8087modetocompilethis必须在8087

模式编译

error117:

Targetaddressnotfound找不至U目标地址

error118:

Ineludefilesarenotallowedhere该处不允许

INCLUDE文件

error119:

Noinheritedmethodsareaccessiblehere该处继承

方法不可访问

error121:

Invalidqualifier无效的限定符

error122:

Invalidvariablereference无效的变量引用

error123:

Toomanysymbols符号太多

error124:

Statementparttoolarge语句体太长

error126:

Filesmustbevarparameters文件必须是变量形参

error127:

Toomanyconditionalsymbols条件符号太多

error128:

Misplacedconditionaldirective条件指令错位

error129:

ENDIFdirectivemissing缺ENDIF指令

error130:

Errorininitialconditionaldefines初始条件定义错误

error131:

Headerdoesnotmatchpreviousdefinition和前面定义的过程或函数不匹配

error133:

Cannotevaluatethisexpression不能计算该表达式error134:

Expressionincorrectlyterminated表达式错误结束error135:

Invalidformatspecifier无效格式说明符

error136:

Invalidindirectreference无效的间接引用

error137Structuredvariablesarenotallowedhere该处不允许结构变量

error138:

CannotevaluatewithoutSystemunit没有System

单元不能计算

error139:

Cannotaccessthissymbol不能存取符号

error140:

Invalidfloatingpointoperation无效的符号运算

error141:

Cannotcompileoverlaystomemory不能编译覆盖

模块至内存

error142:

Pointerorproceduralvariableexpected缺扌旨卒十或

过程变量

error143:

lnvalidprocedureorfunctionreference无效的过程

或函数调用

error144:

Cannotoverlaythisunit不能覆盖该单元

error146:

Fileaccessdenied不允许文件访问

error147:

Objecttypeexpected缺对象类型

error148:

Localobjecttypesarenotallowed不允许局咅卩对象

类型

error149:

VIRTUALexpected缺VIRTUAL

error150:

Methodidentifierexpected缺方法标识符

error151:

Virtualconstructorsarenotallowed不允许虚构造

函数

error152:

Constructoridentifierexpected缺构造函数标识符

error153:

Destructoridentifierexpected缺析构函数标识符error154:

Failonlyallowedwithinconstructors只能在构造函数内使用Fail标准过程

error155:

Invalidcombinationofopcodeandoperands操作

数与操作符无效组合

error156:

Memoryrefereneeexpected缺内存引用扌旨纟十

error157:

Cannotaddorsubtractrelocatablesymbols不能力口减可重定位符号

error158:

Invalidregistercombination无效寄存器组合

error159:

286/287instructionsarenotenabled未激活

286/287指令

error160:

Invalidsymbolreference无效符号指针

error161:

Codegenerationerror代码生成错误

error162:

ASMexpected缺ASM

error166:

Procedureorfunctionidentifierexpected缺过程或

函数标识符

error167:

Cannotexportthissymbol不能输出该符号

error168:

Duplicateexportname外部文件名重复

error169:

Executablefileheadertoolarge可执行文件头太

error170:

Toomanysegments段太多

一、运行错误信息

运行错误分为四类:

1-99为DOS错误;100-149为I/O错误,发生I/O后,如果使用了编译开关{$1+},程序将终止执行,否则编译开关为{$卜},程序继续执行,并由lOResult函数返回错误信息;150-199为严重错误,200-255为致命错误,致命错误将立即终止程序执行。

错误代码及错误信息错误释义

error1:

Invalidfunctionnumber无效函数号

error2:

Filenotfound文件未找到

error3:

Pathnotfound找不到路径

error4:

Toomanyopenfiles打开文件太多

error5:

Fileaccessdenied文件不允许访问

error6:

Invalidfilehandle无效文件句柄

error12:

Invalidfileaccesscode无效文件存取代码

error15:

Invaliddrivenumber无效驱动器号

error16:

Cannotremovecurrentdirectory不能册»除当前目录

error17:

Cannotrenameacrossdrives不能跨驱动器改名

error18:

Nomorefiles没有文件了

error100:

Diskreaderror读磁盘错

error101:

Diskwriteerror写磁盘错

error102:

Filenotassigned文件变量未赋值

error103:

Filenotopen文件未打开

error104:

Filenotopenforinput文件未打开为写方式

error105:

Filenotopenforoutput文件未打开为读方式

error106:

Invalidnumericformat无效数值格式

error150:

Diskiswrite-protected磁盘写保护

error151:

Baddriverequeststructlength错误的驱动器请求

结构长度

error152:

Drivenotready驱动器未准备好

error154:

CRCerrorindata数据CRC校验错

error156:

Diskseekerror磁盘定位错

error157:

Unknownmediatype未知的介质类型

error158:

SectorNotFound找不到扇区

error159:

Printeroutofpaper扌丁印机缺纸

error160:

Devicewritefault设备写错误

error161:

Devicereadfault设备读错误

error162:

Hardwarefailure硬件故障

error200:

Divisionbyzero被零除

error201:

Rangecheckerror范围检查出错

error202:

Stackoverflowerror栈溢出

error203:

Heapoverflowerror土隹溢出

error204:

Invalidpointeroperation无效的指针操作error205:

Floatingpointoverflow浮点运算上溢

error206:

Floatingpointunderflow浮点运算下溢

error207:

Invalidfloatingpointoperation无效的浮点运算

error208:

Overlaymanagernotinstalled未安装覆盖管理程

error209:

Overlayfilereaderror读覆盖文件错误

error210:

Objectnotinitialized对象未初始化

error211:

Calltoabstractmethod调用抽象方法

error212:

Streamregistrationerror流注—册错误

error213:

Collectionindexoutofrange集合下标越界

error214:

Collectionoverflowerror集合上溢

error215:

Arithmeticoverflowerror算术运算上溢

error216:

GeneralProtectionfault一般保护性错误

keilc编译器错误与解决方法

1.Warning280:

'i':

unrefereneedlocalvariable

说明局部变量i在函数中未作任何的存取操作解决方法消除函数中i变量的宣告

2Warning206:

'Music3':

missingfunction-prototype说明Music3()函数未作宣告或未作外部宣告所以无法给其他函数调用

解决方法将叙述voidMusic3(void)写在程序的最前端作宣告如果是其他文件的函数则要写

成externvoidMusic3(void),即作外部宣告

3Compling:

C:

\8051\MANN.C

Error:

318:

can'topenfile4beep.h*

说明在编译C:

\8051\MANN.C程序过程中由于main.c用了指令

#inelude“beep.h",但

却找不到所致解决方法编写一个beep.h的包含档并存入到c:

\8051的工作目录中

4Compling:

C:

\8051\LED.C

Error237:

LedOn':

functionalreadyhasabody

说明LedOn()函数名称重复定义即有两个以上一样的函数名称解决方法修正其中的一个函数名称使得函数名称都是独立的

5^WARNING16:

UNCALLEDSEGMENT,IGNOREDFOROVERLA

YP

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 法律文书 > 调解书

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1