1、keil软件错误总结模板KEIL 编译错误信息表错误代码及错误信息 错误释义error 1: Out of memory内存溢出error 2: Identifier expected缺标识符error 3: Unknown identifier未定义的标识符error 4: Duplicate identifier重复定义的标识符error 5: Syntax error语法错误error 6: Error in real constant实型常量错误error 7: Error in integer constant整型常量错误error 8: String constant exceed
2、s line字符串常量超过一行error 10: Unexpected end of file文件非正常结束error 11: Line too long行太长error 12: Type identifier expected未定义的类型标识符error 13: Too many open files打开文件太多error 14: Invalid file name无效的文件名error 15: File not found文件未找到error 16: Disk full磁盘满error 17: Invalid compiler directive无效的编译命令error 18: Too m
3、any files文件太多error 19: Undefined type in pointer def指针定义中未定义类型error 20: Variable identifier expected缺变量标识符error 21: Error in type类型错误error 22: Structure too large结构类型太长error 23: Set base type out of range 集合基类型越界error 24: File components may not be files or objectsfile分量不能是文件或对象error 25: Invalid str
4、ing length 无效的字符串长度error 26: Type mismatch类型不匹配error 27:error 27 : Invalid subrange base type无效的子界基类型error 28:Lower bound greater than upper bound下界超过上界error 29:Ordinal type expected缺有序类型error 30:Integer constant expected缺整型常量error 31:Constant expected缺常量error 32:Integer or real constant expected缺整型
5、或实型常量error 33:Pointer Type identifier expected缺指针类型标识符error 34:Invalid function result type无效的函数结果类型error 35:Label identifier expected缺标号标识符error 36:BEGIN expected 缺 BEGINerror 37:END expected 缺 ENDerror 38:Integer expression expected缺整型表达式error 39:Ordinal expression expected缺有序类型表达式error 40:Boolean
6、 expression expected缺布尔表达式error 41:Operand types do not match操作数类型不匹配error 42:Error in expression表达式错误error 43:Illegal assignment非法赋值error 44:Field identifier expected缺域标识符error 45:Object file too large目标文件太大error 46:Undefined external未定义的外部过程与函数error 47:Invalid object file record无效的 OBJ文件格式error 48
7、:Code segment too large代码段太长error 49:Data segment too large数据段太长error 50:DO expected 缺 DOerror 51:Invalid PUBLIC definition无效的 PUBLIC定义error 52:Invalid EXTRN definition无效的 EXTRN定义error 53: Too many EXTRN definitions太多的 EXTRN定义error 54:OF expected 缺 OFerror 55 :INTERFACE expected 缺 INTERFACEerror 56:
8、Invalid relocatable reference无效的可重定位引用error 57:THEN expected 缺 THENerror 58 :TO or DOWNTO expected 缺 TO或 DOWNTOerror 59:Undefined forward提前引用未经定义的说明error 61:Invalid typecast无效的类型转换error 62:Division by zero被零除error 63:Invalid file type无效的文件类型error 64:Cannot read or write variables of this type不能读写此类型
9、变量error 65:Pointer variable expected缺指针类型变量error 66:String variable expected缺字符串变量error 67:String expression expected缺字符串表达式error 68:Circular unit reference单元 UNIT部件循环引用error 69:Unit name mismatch单元名不匹配error 70:Unit version mismatch单元版本不匹配error 71:Internal stack overflow内部堆栈溢出error 72:Unit file form
10、at error单元文件格式错误error 73 :IMPLEMENTATION expected缺 IMPLEMENTATION error 74:Constant and case types do not match 常量和 CASE 类型不匹配error 75 :Record or object variable expected 缺记录或对象变量error 76:Constant out of range常量越界error 77:File variable expected缺文件变量error 78:Pointer expression expected缺指针表达式error 79:
11、Integer or real expression expected缺整型或实型表达式error 80 :Label not within current block 标号不在当前块内error 81:Label already defined标号已定义error 82:Undefined label in preceding statement part在前面未定义标号error 83 :Invalid argument无效的 参数error 84:UNIT expected缺 UNITerror 85: ; expected缺“;”error 86: : expected缺“:”erro
12、r 87: , expected缺“,”error 88: ( expected缺“(”error 89: ) expected缺“)”error 90: = expected缺“ =”error 91: := expected缺“:=”error 92: or (. Expected缺“ ”或“( . ”error 93: or .) expected缺“”或“ . )”error 94: . expected缺“. ”error 95: . expected缺“. ”error 96:Too many variables变量太多error 97:Invalid FOR control va
13、riable无效的 FOR循环控制变量error 98:Integer variable expected缺整型变量error 99 :Files and procedure types are not allowed here该处不允许文件和过程类型error 100:String length mismatch字符串长度不匹配error 101:Invalid ordering of fields无效域顺序error 102:String constant expected缺字符串常量error 103:Integer or real variable expected缺整型或实型变量er
14、ror 104:Ordinal variable expected缺有序类型变量error 105:INLINE error INLINE错误error 106:Character expression expected缺字符表达式error 107:Too many relocation items重定位项太多error 108:Overflow in arithmetic operation算术运算溢出error 112:CASE constant out of range CASE常量越界error 113:Error in statement表达式错误error 114:Cannot
15、call an interrupt procedure不能调用中断过程error 116:Must be in 8087 mode to compile this必须在8087 模式编译error 117:Target address not found找不到目标地址error 118:Include files are not allowed here该处不允许INCLUDE文件error 119:No inherited methods are accessible here该处继承方法不可访问error 121 :Invalid qualifier无效的限定符error 122:Inva
16、lid variable reference无效的变量引用error 123:Too many symbols符号太多error 124:Statement part too large语句体太长error 126:Files must be var parameters文件必须是变量形参error 127:Too many conditional symbols条件符号太多error 128:Misplaced conditional directive条件指令错位error 129:ENDIF directive missing缺 ENDIF指令error 130:Error in ini
17、tial conditional defines初始条件定义错误error 131:Header does not match previous definition和前面定义的过程或函数不匹配error 133:Cannot evaluate this expression不能计算该表达式error 134:Expression incorrectly terminated表达式错误结束error 135:Invalid format specifier无效格式说明符error 136:Invalid indirect reference无效的间接引用error 137:Structured
18、 variables are not allowed here该处不允许结构变量error 138: Cannot evaluate without System unit 没有 System单元不能计算error 139:Cannot access this symbol不能存取符号error 140:Invalid floating point operation无效的符号运算error 141:Cannot compile overlays to memory不能编译覆盖模块至内存error 142 :Pointer or procedural variable expected 缺指针
19、或过程变量error 143 :Invalid procedure or function reference 无效的过程或函数调用error 144 :Cannot overlay this unit 不能覆盖该单元error 146:File access denied不允许文件访问error 147:Object type expected缺对象类型error 148:Local object types are not allowed不允许局部对象类型error 149:VIRTUAL expected 缺 VIRTUALerror 150: Method identifier exp
20、ected 缺方法标识符error 151 :Virtual constructors are not allowed 不允许虚构造函数error 152 :Constructor identifier expected 缺构造函数标识符error 153 : Destructor identifier expected 缺析构函数标识符error 154 :Fail only allowed within constructors 只能在构造函数内使用 Fail 标准过程error 155 :Invalid combination of opcode and operands 操作数与操作符
21、无效组合error 156:Memory reference expected缺内存引用指针error 157:Cannot add or subtract relocatable symbols不能加减可重定位符号error 158:Invalid register combination无效寄存器组合error 159:286/287 instructions are not enabled未激活286/287 指令error 160:Invalid symbol reference无效符号指针error 161:Code generation error代码生成错误error 162:A
22、SM expected 缺 ASMerror 166:Procedure or function identifier expected缺过程或函数标识符error 167:Cannot export this symbol不能输出该符号error 168:Duplicate export name外部文件名重复error 169:Executable file header too large可执行文件头太长error 170:Too many segments 段太多一、 运行错误信息运行错误分为四类: 1-99 为 DOS错误; 100-149 为 I/O 错误,发生 I/O 后,如果使
23、用了编译开关 $I+ ,程序将终止执行,否则编译开关为 $I- ,程序继续执行, 并由 IOResult 函数返回错误信息; 150-199 为严重错误, 200-255 为致命错误,致命错误将立即终止程序执行。错误代码及错误信息 错误释义error 1 : Invalid function number 无效函数号error 2 : File not found 文件未找到error 3: Path not found找不到路径error 4: Too many open files打开文件太多error 5: File access denied文件不允许访问error 6: Invali
24、d file handle无效文件句柄error 12:Invalid file access code无效文件存取代码error 15:Invalid drive number无效驱动器号error 16:Cannot remove current directory不能删除当前目录error 17:Cannot rename across drives不能跨驱动器改名error 18:No more files没有文件了error 100:Disk read error读磁盘错error 101:Disk write error写磁盘错error 102:File not assigned
25、文件变量未赋值error 103:File not open文件未打开error 104:File not open for input文件未打开为写方式error 105:File not open for output文件未打开为读方式error 106:Invalid numeric format无效数值格式error 150:Disk is write-protected磁盘写保护error 151:Bad drive request struct length错误的驱动器请求结构长度error 152:Drive not ready驱动器未准备好error 154:CRC error
26、 in data数据CRC校验错error 156:Disk seek error磁盘定位错error 157:Unknown media type未知的介质类型error 158:Sector Not Found找不到扇区error 159:Printer out of paper打印机缺纸error 160:Device write fault设备写错误error 161:Device read fault设备读错误error 162:Hardware failure硬件故障error 200:Division by zero被零除error 201:Range check error范围检查出错error 202:Stack overflow error栈溢出error 203:Heap overflow error堆溢出error 204:Inva
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1