汇编语言出错信息---汉语对照
- 格式:docx
- 大小:18.09 KB
- 文档页数:5
1. Ambiguous operators need parentheses — 不明确的运算需要用括号括起2. Ambiguous symbol 'xxx' — 不明确的符号3. Argument list syntax error — 参数表语法错误4. Array bounds missing — 丢失数组界限符5. Array size toolarge — 数组尺寸太大6. Bad character in paramenters — 参数中有不适当的字符7. Bad file name format in include directive — 包含命令中文件名格式不正确8. Bad ifdef directive synatax — 编译预处理ifdef有语法错9. Bad undef directive syntax — 编译预处理undef有语法错10. Bit field too large — 位字段太长11. Call of non-function — 调用未定义的函数12. Call to function with no prototype — 调用函数时没有函数的说明13. Cannot modify a const object — 不允许修改常量对象14. Case outside of switch — 漏掉了case 语句15. Case syntax error — Case 语法错误16. Code has no effect — 代码不可能执行到17. Compound statement missing{ — 分程序漏掉"{"18. Conflicting type modifiers — 不明确的类型说明符19. Constant expression required — 要求常量表达式20. Constant out of range in comparison — 在比较中常量超出范围21. Conversion may lose significant digits — 转换时会丢失意义的数字22. Conversion of near pointer not allowed — 不允许转换近指针23. Could not find file 'xxx' — 找不到XXX文件24. Declaration missing ; — 说明缺少";"25. Declaration syntax error — 说明中出现语法错误26. Default outside of switch — Default 出现在switch语句之外27. Define directive needs an identifier — 定义编译预处理需要标识符28. Division by zero — 用零作除数29. Do statement must have while — Do-while语句中缺少while部分30. Enum syntax error — 枚举类型语法错误31. Enumeration constant syntax error — 枚举常数语法错误32. Error directive :xxx — 错误的编译预处理命令33. Error writing output file — 写输出文件错误34. Expression syntax error — 表达式语法错误35. Extra parameter in call — 调用时出现多余错误36. File name too long — 文件名太长37. Function call missing ) — 函数调用缺少右括号38. Fuction definition out of place — 函数定义位置错误39. Fuction should return a value — 函数必需返回一个值40. Goto statement missing label — Goto语句没有标号41. Hexadecimal or octal constant too large — 16进制或8进制常数太大42. Illegal character 'x' — 非法字符x43. Illegal initialization — 非法的初始化44. Illegal octal digit — 非法的8进制数字45. Illegal pointer subtraction — 非法的指针相减46. Illegal structure operation — 非法的结构体操作47. Illegal use of floating point — 非法的浮点运算48. Illegal use of pointer — 指针使用非法49. Improper use of a typedefsymbol — 类型定义符号使用不恰当50. In-line assembly not allowed — 不允许使用行间汇编51. Incompatible storage class — 存储类别不相容52. Incompatible type conversion — 不相容的类型转换53. Incorrect number format — 错误的数据格式54. Incorrect use of default — Default使用不当55. Invalid indirection — 无效的间接运算56. Invalid pointer addition — 指针相加无效57. Irreducible expression tree — 无法执行的表达式运算58. Lvalue required — 需要逻辑值0或非0值59. Macro argument syntax error — 宏参数语法错误60. Macro expansion too long — 宏的扩展以后太长61. Mismatched number of parameters in definition — 定义中参数个数不匹配62. Misplaced break — 此处不应出现break语句63. Misplaced continue — 此处不应出现continue语句64. Misplaced decimal point — 此处不应出现小数点65. Misplaced elif directive — 不应编译预处理elif66. Misplaced else — 此处不应出现else67. Misplaced else directive — 此处不应出现编译预处理else68. Misplaced endif directive — 此处不应出现编译预处理endif69. Must be addressable — 必须是可以编址的70. Must take address of memory location — 必须存储定位的地址71. No declaration for function 'xxx' — 没有函数xxx的说明72. No stack — 缺少堆栈73. No type information — 没有类型信息74. Non-portable pointer assignment — 不可移动的指针(地址常数)赋值75. Non-portable pointer comparison — 不可移动的指针(地址常数)比较76. Non-portable pointer conversion — 不可移动的指针(地址常数)转换77. Not a valid expression format type — 不合法的表达式格式78. Not an allowed type — 不允许使用的类型79. Numeric constant too large — 数值常太大80. Out of memory — 内存不够用81. Parameter 'xxx' is never used — 能数xxx没有用到82. Pointer required on left side of -> — 符号->的左边必须是指针83. Possible use of 'xxx' before definition — 在定义之前就使用了xxx(警告)84. Possibly incorrect assignment — 赋值可能不正确85. Redeclaration of 'xxx' — 重复定义了xxx86. Redefinition of 'xxx' is not identical — xxx的两次定义不一致87. Register allocation failure — 寄存器定址失败88. Repeat count needs an lvalue — 重复计数需要逻辑值89. Size of structure or array not known — 结构体或数给大小不确定90. Statement missing ; — 语句后缺少";"91. Structure or union syntax error — 结构体或联合体语法错误92. Structure size too large — 结构体尺寸太大93. Sub scripting missing ] — 下标缺少右方括号94. Superfluous & with function or array — 函数或数组中有多余的"&"95. Suspicious pointer conversion — 可疑的指针转换96. Symbol limit exceeded — 符号超限97. Too few parameters in call — 函数调用时的实参少于函数的参数不98. Too many default cases — Default太多(switch语句中一个)99. Too many error or warning messages — 错误或警告信息太多100. Too many type in declaration — 说明中类型太多101. Too much auto memory in function — 函数用到的局部存储太多102. Too much global data defined in file — 文件中全局数据太多103. Two consecutive dots — 两个连续的句点104. Type mismatch in parameter xxx — 参数xxx类型不匹配105. Type mismatch in redeclaration of 'xxx' — xxx重定义的类型不匹配106. Unable to create output file 'xxx' — 无法建立输出文件xxx107. Unable to open include file 'xxx' — 无法打开被包含的文件xxx 108. Unable to open input file 'xxx' — 无法打开输入文件xxx109. Undefined label 'xxx' — 没有定义的标号xxx110. Undefined structure 'xxx' — 没有定义的结构xxx111. Undefined symbol 'xxx' — 没有定义的符号xxx112. Unexpected end of file in comment started on line xxx — 从xxx行开始的注解尚未结束文件不能结束113. Unexpected end of file in conditional started on line xxx — 从xxx 开始的条件语句尚未结束文件不能结束114. Unknown assemble instruction — 未知的汇编结构115. Unknown option — 未知的操作116. Unknown preprocessor directive: 'xxx' — 不认识的预处理命令xxx117. Unreachable code — 无路可达的代码118. Unterminated string or character constant — 字符串缺少引号119. User break — 用户强行中断了程序120. Void functions may not return a value — Void类型的函数不应有返回值121. Wrong number of arguments — 调用函数的参数数目错122. 'xxx' not an argument — xxx不是参数123. 'xxx' not part of structure — xxx不是结构体的一部分124. xxx statement missing ( — xxx语句缺少左括号125. xxx statement missing ) — xxx语句缺少右括号126. xxx statement missing ; — xxx缺少分号127. xxx' declared but never used — 说明了xxx但没有使用128. xxx' is assigned a value which is never used — 给xxx赋了值但未用过。
常见错误提示信息的英汉对照Ambiguous operators need parentheses : 不明确的运算需要用括号括起Ambiguous symbol ’xxx’ : 不明确的符号Argument list syntax error : 参数表语法错误Array bounds missing : 丢失数组界限符Array size toolarge : 数组尺寸太大Bad character in paramenters :参数中有不适当的字符Bad file name format in include directive :包含命令中文件名格式不正确Bad ifdef directive synatax :编译预处理ifdef有语法错Bad undef directive syntax :编译预处理undef有语法错Bit field too large :位字段太长Call of non-function :调用未定义的函数Call to function with no prototype :调用函数时没有函数的说明Cannot modify a const object :不允许修改常量对象Case outside of switch: 漏掉了case 语句Case syntax error :Case 语法错误Code has no effect 代码不可述不可能执行到Compound statement missing{ 分程序漏掉"{"Conflicting type modifiers 不明确的类型说明符Constant expression required 要求常量表达式Constant out of range in comparison 在比较中常量超出范围Conversion may lose significant digits 转换时会丢失意义的数字Conversion of near pointer not allowed 不允许转换近指针Could not find file ’xxx’ 找不到XXX文件Declaration missing ; 说明缺少";"Declaration syntax error 说明中出现语法错误Default outside of switch Default 出现在switch语句之外Define directive needs an identifier 定义编译预处理需要标识符Division by zero 用零作除数Do statement must have while Do-while语句中缺少while部分Enum syntax error 枚举类型语法错误Enumeration constant syntax error 枚举常数语法错误Error directive :xxx 错误的编译预处理命令Error writing output file 写输出文件错误Expression syntax error 表达式语法错误Extra parameter in call 调用时出现多余错误File name too long 文件名太长Function call missing ) 函数调用缺少右括号Fuction definition out of place 函数定义位置错误Fuction should return a value 函数必需返回一个值Goto statement missing label Goto语句没有标号Hexadecimal or octal constant too large 16进制或8进制常数太大Illegal character ’x’ 非法字符xIllegal initialization 非法的初始化Illegal octal digit 非法的8进制数字Illegal pointer subtraction 非法的指针相减Illegal structure operation 非法的结构体操作Illegal use of floating point 非法的浮点运算Illegal use of pointer 指针使用非法Improper use of a typedefsymbol 类型定义符号使用不恰当In-line assembly not allowed 不允许使用行间汇编Incompatible storage class 存储类别不相容Incompatible type conversion 不相容的类型转换Incorrect number format 错误的数据格式Incorrect use of default Default使用不当Invalid indirection 无效的间接运算Invalid pointer addition 指针相加无效Irreducible expression tree 无法执行的表达式运算Lvalue required 需要逻辑值0或非0值Macro argument syntax error 宏参数语法错误Macro expansion too long 宏的扩展以后太长Mismatched number of parameters in definition 定义中参数个数不匹配Misplaced break 此处不应出现break语句Misplaced continue 此处不应出现continue语句Misplaced decimal point 此处不应出现小数点Misplaced elif directive 不应编译预处理elif Misplaced else 此处不应出现elseMisplaced else directive 此处不应出现编译预处理else Misplaced endif directive 此处不应出现编译预处理endif Must be addressable 必须是可以编址的Must take address of memory location 必须存储定位的地址No declaration for function ’xxx’ 没有函数xxx的说明No stack 缺少堆栈No type information 没有类型信息Non-portable pointer assignment 不可移动的指针(地址常数)赋值Non-portable pointer comparison 不可移动的指针(地址常数)比较Non-portable pointer conversion 不可移动的指针(地址常数)转换Not a valid expression format type 不合法的表达式格式Not an allowed type 不允许使用的类型Numeric constant too large 数值常太大Out of memory 内存不够用Parameter ’xxx’ is never used 能数xxx没有用到Pointer required on left side of -> 符号->的左边必须是指针Possible use of ’xxx’ before definition 在定义之前就使用了xxx(警告)Possibly incorrect assignment 赋值可能不正确Redeclaration of ’xxx’ 重复定义了xxx Redefinition of ’xxx’ is not identical xxx的两次定义不一致Register allocation failure 寄存器定址失败Repeat count needs an lvalue 重复计数需要逻辑值Size of structure or array not known 结构体或数给大小不确定Statement missing ; 语句后缺少";"Structure or union syntax error 结构体或联合体语法错误Structure size too large 结构体尺寸太大Sub scripting missing ] 下标缺少右方括号Superfluous & with function or array 函数或数组中有多余的"&"Suspicious pointer conversion 可疑的指针转换Symbol limit exceeded 符号超限Too few parameters in call 函数调用时的实参少于函数的参数Too many default cases Default太多(switch语句中一个)Too many error or warning messages 错误或警告信息太多Too many type in declaration 说明中类型太多Too much auto memory in function 函数用到的局部存储太多Too much global data defined in file 文件中全局数据太多Two consecutive dots 两个连续的句点Type mismatch in parameter xxx 参数xxx类型不匹配Type mismatch in redeclaration of ’xxx’ xxx重定义的类型不匹配Unable to create output file ’xxx’ 无法建立输出文件xxx Unable to open include file ’xxx’ 无法打开被包含的文件xxx Unable to open input file ’xxx’ 无法打开输入文件xxx Undefined label ’xxx’ 没有定义的标号xxx Undefined structure ’xxx’ 没有定义的结构xxx Undefined symbol ’xxx’ 没有定义的符号xxx Unexpected end of file in comment started on line xxx 从xxx行开始的注解尚未结束文件不能结束Unexpected end of file in conditional started on line xxx 从xxx 开始的条件语句尚未结束文件不能结束Unknown assemble instruction 未知的汇编结构Unknown option 未知的操作Unknown preprocessor directive: ’xxx’ 不认识的预处理命令xxx Unreachable code 无路可达的代码Unterminated string or character constant 字符串缺少引号User break 用户强行中断了程序Void functions may not return a value Void类型的函数不应有返回值Wrong number of arguments :调用函数的参数数目错‘xxx’ not an argument :xxx不是参数‘xxx’ not part o f structure xxx不是结构体的一部分xxx statement missing ( xxx语句缺少左括号xxx statement missing ) xxx语句缺少右括号xxx statement missing ; xxx缺少分号xxx’ declared but never used 说明了xxx但没有使用xxx’ is assigned a value which is never used 给xxx赋了值但未用过。
PASCAL出错中英文信息对照表一、编译时的出错信息1.Out of memory [内存溢出]2.Identifier expected [缺标识符]3.Identifier not found [标识符未找到]*如:Identifier not found INTEGR [标识符INTEGER未找到]4.Duplicate identifier [重复说明]*如:Duplicate identifier N [变量N重复说明]5.Syntax error [语法错误]*6.Error in real constant [实型常量错]7.Error in integer constant [整型常量错]8.String constant exceeds line [字符串常量跨行]9.Too many nested file [文件嵌套过多]10.Unexpected end of file [非正常文件结束]11.Line to long [行过长]12.Type Identifier expected [缺类型标识符]13.Too many open file [打开文件过多]14.Invalid file name [无效文件名]15.File not found [文件未找到]*16.Disk full [磁盘满]17.Invalid compiler directive [无效编译指示]18.Too many file [文件过多]19.Undefined type in pointer definition [指针定义中未定义类型]20.Variable identifier expected [缺变量标识符]21.Error in type definition [类型错误说明]*22.Stucture too large [结构过长]23.Set base type out of range [集合基类型越界]24.File components may not be files or object [FILE分量不能为文件或对象]25.Invalid string length [无效字符串长度]26.Type mismatch [类型不匹配]*27.Invalid subrange base type [无效子界基类型]28.Lower bound greater than upper bound [下界大于上界]29.Ordinal type expected [缺有序类型]30.Integer constant expected [缺整型常数]31.Constant expected [缺常量]32.Integer or real constant expected [缺整型或实型常量]33.Pointe type identifier expected [缺指针类型标识符]34.Invalid function result type [无效的函数结果类型]bel identifier expected [缺标号标识符]36.Begin expected [缺BEGIN]*37.End expected [缺END]*38.Integer expression expected [缺整型表达式]39.Ordinal expression expected [缺有序表达式]40.Boolean expression expected [缺布尔表达式]41.Operand type do not match operator [操作数与操作符不匹配]42.Error in expression [表达式错]43.Illegal expression [非法赋值]*44.Field identifier expected [缺域标识符]45.Object file too large [目标文件过大]46.Undefined external [未定义外部标识符]47.Invalid object file record [无效OBJ文件记录]48.Code segment too large [代码段过长]49.Data segment too large [数据段过长]*50.Do expected [缺DO]*51.Invalid PUBLIC definition [无效PUBLIC定义]52.Invalid EXTRN definition [无效EXTRN定义]53.Too many EXTRN definition [EXTRN定义过多]54.Of extected [缺0F]*55.INTERFACE expected [缺INTERFACE]56.Invalid relocatable reference [无效重定位引用]57.THEN expected [缺THEN]*58.TO (DOWNTO) expected [缺T0或DOWNTO]*59.Undefined forward [提前引用未定义的说明]60.Too many procedures [过程过多]61.Invalid typecast [无效类型转换]62.Division by zero [被零除]63.Invalid typecast [无效文件类型]64.Cannot Read or Write variable of this type [不能读写该类型的变量]*65.Ponter variable expected [缺指针变量]66.String variable expected [缺字符串变量]67.String expression expected [缺字符串表达式]68.Circular unit reference [单元循环引用]69.Unit name mismatchg [单元名不匹配]70.Unit version mismatch [单元版本不匹配]71.Duplicate unit name [单元重名]72.Unit file format error [单元文件格式错误]73.Implementation expected [缺IMPLEMENTATl0N]74.constant and case types do not match [常数与CASE类型不相匹配]75.Record variable expected [缺记录变量]76.Constant out of range [常量越界]77.File variable expected [缺文件变量]78.Pointer extression expected [缺指针变量]79.Integer or real expression expected [缺整型或实型表达式]ble not within current block [标号不在当前块中]ble already defined [标号已定义]82.Undefined lable in preceding statement part [在前面语句中标号未定义]83.Invalid @ argument [无效的@参数]84.Unit expected [缺UNIT]85. “;” expected [缺“;”]*86. “:” expected [缺“:”]*87. “,” expected [缺“,”]*88. “(” expected [缺“(”)*89. “)” ex pected [缺“]” ]*90. “=” expected [缺“=”]*91. “:=” expected [缺“:=”]*92. “[” or “(” expected [缺“[”或“(”)*93. “]” or “)” expected [缺“]”或“)”]*94. “..” expected [缺“.”]*95. “..” expected [缺“..”]*96.Too many variable [变量过多]97.Invalid FOR control variable [无效FOR控制变量]98.Integer variable expected [缺整型变量]99.File and procedure types are not allowed here [此处不允许用文件和过程类型]100.Srting length mismatch [字符串长度不匹配]101.Invalid ordering of fields [无效域顺序]102.String constant expected [缺字符串常量]103.Integer or real variable expected [缺整型或实型变量]104.Ordinal variable expected [缺顺序变量]105.INLINE error [INLINE错]106.Character expression expected [缺字符表达式]107.Too many relocation items [重定位项过多]112.Case constant out of range [CASE常量越界]113.Error in statement [语句错]114.Can’t call an interrupt procedute [不能调用中断过程]116.Must be in 8087 mode to complie this [必须在8087方式下编译] 117.Target address not found [未找到目标地址]118.Include files are not allowed here [此处不允许包含INCLUDE文件] 120.NIL expected [缺NIL]121.Invalid qualifier [无效限定符]122.Invalid variable reference [无效变量引用]123.Too many symbols [符号过多]124.Statement part too large [语句部分过长]126.Files must be var parameters [文件必须为变量参数]127.Too many conditional directive [条件符号过多]128.Misplaced conditional directive [条件指令错位]129.ENDIF directive missing [缺少ENDIF 指令]130.Error in initial conditional defines [初始条件定义错]131.Header does not match previous definition [过程和函数头与前面定义的不匹配]132.Critical disk error [严重磁盘错误]133.Can’t evalute this expression [不能计算该表达式]*如:Can’t evalute constart expression [不能计算该常量表达式] 134.Expression incorrectly terminated [表达式错误结束]135.Invaild format specifier [无效格式说明符]136.Invalid indirect reference [无效间接引用]137.Structed variable are not allowed here [此处不允许结构变量] 138.Can’t evalute without system unit [无SYSTEM单元不能计算]139.Can’t access this symbols [不能存取该符号]140.Invalid floating –point operation [无效浮点运算]141. Can’t compile overlays to memory [不能将覆盖模块编译至内存] 142.Procedure or function variable expected [缺过程和函数变量]143.Invalid procedure or function reference. [无效过程或函数引用] 144.Can’t overlay this unit [不能覆盖该单元]147.Object type expected [缺对象类型]148.Local object types are not allowed [不允许局部对象类型]149.VIRTUAL expected [缺VIRTUAL]150.Method identifier expected [缺方法标识符]151.Virtual constructor are not allowed [不允许虚拟构造方法]152.Constructor Identifier expected [缺构造函数标识符]153.Destructor Identifier expected [缺析构函数标识符]154.Fail only allowed within constructors [FAIL标准过程只允许在构造方法内使用]155.Invalid combination of opcode and operands [无效的操作符和操作数组合]156.Memory reference expected [缺内存引用]157.Can’t add or subtrace relocatable symbols [不能加减可重定位符号] 158.Invalid register combination [无效寄存器组合]159.286/287 Instructions are not enabled [未激活286/287指令]160.Invalid symbol reference [无效符号引用]161.Code generation error [代码生成错]162.ASM expected [缺ASM]二、运行错误运行错误将显示错误信息,并终止程序的运行。
******************************** 编译错误信息********************************';' not allowed before 'ELSE' ElSE前不允许有“;”'<clause>' clause not allowed in OLE automation section 在OLE自动区段不允许“<clause>”子句'<name>' is not a type identifier <name>不是类型标识符'<name>' not previously declared as a PROPERTY <name>前面没有说明PROPERTY'GOTO <label>' leads into or out of TRY statement GOTO <label>进入或超出TRY语句的范围<clause1> clause expected, but <clause2> found 要求子句<clause1>,但出现<clause2>16-Bit fixup encountered in object file '<text>' 在对象文件<text>遇到16位修复486/487 instructions not enabled 不能用486/487指令Abstract methods must be virtual or dynamic 抽象方法必须为虚拟的或动态的Array type required 需要数组类型Assignment to FOR-Loop variable '<Name>' 给FOR循环变量<Name>赋值Bad argument type in variable type array constructor 在变量类型数组结构中不正确的参数类型Bad file format '<name>' 错误的文件格式<name>Bad file format: <Filename> 错误的文件格式<Filename>Bad global symbol definition: '<Name>' in object file '<Filename>' 对象文件'<Filename>'中错误的全局符号定义'<Name>'Bad unit format: <Filename> 错误的单元格式<Filename>BREAK or CONTINUE outside of loop BREAK或CONTINUE超出循环Cannot add or subtract relocatable symbols 不能增加或减少可重置的符号Cannot assign to a read-only property 不能指定只读属性Cannot BREAK, CONTINUE or EXIT out of a FINALLY clause 超出FINALLY 子句的范围,不能使用BREAK,CONTINUE或EXIT语句Cannot initialize local variables 不能初始化局部变量Cannot initialize multiple variables 不能初始化多个变量Cannot initialize thread local variables 不能初始化线程局部变量Cannot override a static method 不能覆盖静态方法Cannot read a write-only property 不能读取只写属性Case label outside of range of case expression CASE标号超出了CASE表达式的范围Circular unit reference to <Unitname> 对单元<Unitname>循环引用Class already has a default property 类已具有默认的属性Class does not have a default property 类没有默认的属性Class or object types only allowed in type section 在类型区段只允许有类或对象类型Class type required 需要类类型Close error on <Filename> 文件<Filename>关闭错误Compile terminated by user 用户中止编译Constant expected 要求常量Constant expression expected 要求常量表达式Constant expression violates subrange bounds 常量表达式超出子界范围Constant object cannot be passed as var parameter 常量对象不能作为变量参数传递Constant or type identifier expected 要求常量或类型标识符Constants cannot be used as open array arguments 常量不能用作打开数组参数Constructing instance of '<name>' containing abstract methods 构造的<name>实体包含抽象的方法Could not compile used unit '<Unitname>' 不能用单元<Unitname>编译Could not create output file <Filename> 不能建立输出文件<Filename> Could not load RLINK32.DLL 不能加载RLINK32.DLLData type too large: exceeds 2 GB 数据类型太大:超过2GBDeclaration of <Name> differs from previous declaration <Name>的说明与先前的说明不同Default property must be an array property 默认的属性必须为数组属性Default values must be of ordinal, pointer or small set type 默认的值必须为序数、指针或小集类型Destination cannot be assigned to 目标不能指定Destination is inaccessible 目标不能存取Dispid '<number>' already used by '<name>' DISPID标识号已被<name>使用Dispid clause only allowed in OLE automation section DISPID子句只能在OLE 自动区段中使用Division by zero 除数为零Duplicate case label CASE标号重复Duplicate tag value 重复的标志值Dynamic method or message handler not allowed here 这里不允许有动态方法或信息处理程序Dynamic methods and message handlers not allowed in OLE automation section在OLE自动区段不允许有动态方法或消息处理程序Element 0 inaccessible - use 'Length' or 'SetLength' 元素0不能存取-使用LENGTH或SETLENGTHError in numeric constant 数值常量错误EXCEPT or FINALLY expected 要求EXCEPT或FINALLYEXPORTS allowed only at global scope EXPORTS只允许在全局范围使用Expression has no value 表达式没有值Expression too complicated 表达式太复杂Field definition not allowed in OLE automation section 在OLE自动区段中不允许域定义Field definition not allowed after methods or properties 在方法或属性后不允许域定义Field or method identifier expected 要求域或方法标识符File not found: <Filename> 文件<Filename>没有找到File type not allowed here 这儿不允许文件类型For loop control variable must be simple local variable FOR循环控制变量必须为简单局部变量For loop control variable must have ordinal type FOR循环控制变量必须为序数类型FOR or WHILE loop executes zero times - deleted FOR或WHILE循环执行零次-删除FOR-Loop variable '<name>' cannot be passed as var parameter FOR循环变量<name>不能作为参数传递FOR-Loop variable '<Name>' may be undefined after loop 在循环后的FOR循环变量<NAME>是不确定的Function needs result type 函数需要结果类型Identifier redeclared: '<name>' 标识符<name>重复说明Illegal character in input file: '<char>' ($<hex>) 在输入文件中的非法字符'<char>'Illegal message method index 非法的消息方法指针Illegal reference to symbol '<Name>' in object file '<Filename>' 在对象文件<filename>中对符号<name>的非法引用Illegal type in OLE automation section: '<typename>' 在OLE自动区段中的非法类型<typename>Illegal type in Read/Readln statement 在Read/Readln语句中的非法类型Illegal type in Write/Writeln statement 在Write/Writeln语句中的非法类型Inaccessible value 不可存取的值Incompatible types: '<name>' and '<name>' 不兼容的类型<name>和<name> Incompatible types: <text> 不兼容的类型<text>Inline assembler stack overflow 内联汇编溢出Inline assembler syntax error 内联汇编语法错误Instance variable '<name>' inaccessible here 实体变量<name>在这里不能存取Integer constant or variable name expected 要求整形常量或变量名Integer constant too large 整型常量太大Internal error: <ErrorCode> 内部错误<errorcode>Invalid combination of opcode and operands 操作码与操作对象的无效组合Invalid compiler directive: '<Directive>' 无效的编译指令<DIRECTIVE> Invalid function result type 无效的函数值类型Invalid message parameter list 无效的消息参数列表Invalid register combination 无效的寄存器组合Invalid typecast 无效的TYPECASELabel '<Name>' is not declared in current procedure 在当前的过程中没有说明标号<NAME>Label already defined: '<Labelname>' 标号<LABELNAME>已经定义Label declaration not allowed in interface part 在界面部分不允许标号说明Label declared and referenced, but not set: '<label>' 标号被<label>说明及引用,但不能设置Label expected 要求标号Left side cannot be assigned to 左边不能赋值Line too long (more than 255 characters) 行太长(超出255个字符)Local class or object types not allowed 不允许局部的类或对象类型Local procedure/function '<Name>' assigned to procedure variable 局部过程/函数<NAME>赋给过程变量LOOP/JCXZ distance out of range LOOP/JCXZ距离超出范围Low bound exceeds high bound 下界超过上界Memory reference expected 要求内存引用Method '<name>' hides virtual method of base type '<name>' 方法<NAME>隐藏了基类型为<NAME>的虚拟方法Method '<name>' not found in base class 在基类中没有找到方法<NAME> Method identifier expected 要求方法标识符Missing ENDIF directive 缺少ENDIF指令Missing operator or semicolon 缺少操作符或分号Missing or invalid conditional symbol in '$<symbol>' directive 在$<symbol>指令中缺少或无效的条件符号Missing parameter type 缺少参数类型Necessary library helper function was eliminated by linker 必要的库帮助函数被连接程序删除No definition for abstract method '<name>' allowed 抽象方法<NAME>没有定义Not enough actual parameters 没有足够的实际参数Number of elements differs from declaration 元素数与说明不同Numeric overflow 数值溢出Object or class type required 需要对象或类类型Object type required 需要对象类型Only register calling convention allowed in OLE automation section 在OLE自动区段中只允许寄存器调用约定Operand size mismatch 运算对象大小匹配Operator not applicable to this operand type 运算符不使用于这一运算对象类型Order of fields in record constant differs from declaration 在记录常量中的域次序与说明不同Ordinal type required 需要序数类型Out of memory 内存溢出Overflow in conversion or arithmetic operation 转换或算术操作溢出Overriding automated virtual method '<name>' cannot specify a dispid 覆盖的自动虚拟方法<NAME>不能指定DISPIDPACKED not allowed here 这里不允许PACKEDPointer type required 需要指针类型Procedure cannot have a result type 过程不能有结果类型Procedure DISPOSE needs destructor 过程DISPOSE需要destructor Procedure FAIL only allowed in constructor 过程FAIL只允许在constructor方法中Procedure NEW needs constructor 过程NEW需要constructor方法PROCEDURE or FUNCTION expected 要求PROCEDURE或FUNCTION Procedure or function name expected 要求过程或函数名Program or unit '<name>' recursively uses itself 程序或单元递归Property '<name>' does not exist in base class 在基类中<NAME>属性不存在Published property '<name>' cannot be of type <type> Published属性<NAME>不能具有类型<type>Published Real48 property '<name>' must be Single, Double or Extended Published REAL属性<NAME>必须为Single, Double或ExtendedRe-raising an exception only allowed in exception handler 在意外处理中只允许重新引起意外处理Read error on <Filename> 文件<FILENAME>读出错Record, object or class type required 需要记录,对象或类类型Redeclaration of '<name>' hides a member in the base class <NAME>的重新说明隐藏了基类中一个元素Redeclaration of property not allowed in OLE automation section 在OLE自动区段中不允许属性重复说明Return value of function '<Functionname>' might be undefined 函数<Functionname>的返回值可能没有定义Seek error on <Filename> 在<FILENAME>中搜索错误Segment/Offset pairs not supported in Borland 32-bit Pascal 在Borland 32位的PASCAL中不支持Segment/Offset对Sets may have at most 256 elements 集至少有256个元素Size of published set '<name>' is >32 bits published集<NAME>的大小大于32字节Slice standard function only allowed as open array argument Slice标准函数只允许作为打开数组参数Statement expected, but expression of type '<type>' found 要求语句,但出现类型<TYPE>的表达式Statements not allowed in interface part 在界面中不允许的语句String constant too long 字符串常量太长String constant truncated to fit STRING[<number>] 字符串常量截取到适合STRING[<number>]Strings may have at most 255 elements 字符串至少255个元素Structure field identifier expected 要求结构域标识符Syntax error in real number 实数语法错误System unit out of date or corrupted: missing '<name>' 系统单元超出日期或损坏:缺少<NAME>Text after final 'END. 编译器忽略END.后的文本This form of method call only allowed for class methods 该方法的窗体只允许类方法This form of method call only allowed in methods of derived types 该方法的窗体只允许在导出类型的方法中This type cannot be initialized 这一类型不能初始化Thread local variables cannot be ABSOLUTE 线程局部变量不能是ABSOLUTEThread local variables cannot be local to a function or procedure 线程局部变量对函数不能是局部的Too many actual parameters 太多的实际参数Too many conditional symbols 太多的条件符号Type '<name>' has no type info 类型<NAME>没有类型信息Type '<Name>' is not yet completely defined 类型<NAME>至今没有定义Type '<name>' must be a class to have a PUBLISHED section 类型<NAME>必须是在PUBLISHED区段中的类Type '<name>' must be a class to have OLE automation 类型<NAME>必须是具有OLE自动的类Type '<name>' needs finalization - not allowed in file type 类型<NAME>需要初始化-不允许在文件类型中Type '<name>' needs finalization - not allowed in variant record 类型<NAME>需要初始化-不允许在变体记录Type expected 要求TYPEType not allowed in OLE Automation call 在OLE自动调用中不允许的类型Type of expression must be BOOLEAN 表达式的类型必须为BOOLEAN型Type of expression must be INTEGER 表达式的类型必须为INTEGER型TYPEINFO standard function expects a type identifier TYPEINFO标准函数要求类型标识符TYPEOF can only be applied to object types with a VMT TYPEOF只能用于具有VMT的对象类型Types of actual and formal var parameters must be identical 形参与实参必须一致Undeclared identifier: '<name>' 未说明的标识符<NAME>Unexpected end of file in comment started on line <Number> 以行<Number>开始的注释中出现不应有的文件结束Unit <Unit1> was compiled with a different version of <Unit2> 单元<UNIT1>与不同版本的<UNIT2>编译Unit name mismatch: '<Unitname>' 单元名不匹配<UNITNAME>Unknown directive: '<Directive>' 未知的指令<DIRECTIVE>Unnamed arguments must precede named arguments in OLE Automation call 在OLE自动调用中未命名的参数必须在命名的参数前Unsatisfied forward or external declaration: '<Procedurename>' 不满足的向前或外部说明<Procedurename>Unterminated string 未结束的字符串Value assigned to '<Name>' never used 赋给<NAME>的值从未使用过Variable '<name>' inaccessible here due to optimization 由于优化,变量名<NAME>在这里不能存取Variable '<name>' is declared but never used in '<name>' 变量名<NAME>已说明,但不曾使用Variable '<Name>' might not have been initialized 变量名<NAME>可能没有初始化Variable required 需要变量Virtual constructors are not allowed 不允许虚拟的constructors方法Write error on <Filename> 文件<Filename>写错误Wrong or corrupted version of RLINK32.DLL RLINK32.DLL版本错误或不能用。
Pascal编译错误中文对照表下面列出在编译程序时可能出现的错误,在集成环境下,Turbo Pascal将自动加载源程序并定位于出错处。
1内存溢出2缺标识符3标识符未定义4标识符重定义5语法错误6实型常量错7整型常量错8字符串常量跨行9文件嵌套过多10非正常文件结束11行过长12缺类型标识符13打开文件过多14无效文件名15文件未找到16磁盘满17无效编译指示18文件过多19指针定义中未定义类型20缺变量标识符21类型错误22结构过长24文件分量不能为文件25无效字符串长度26类型不匹配27无效子界基类型28下界大于上界29缺有序类型30缺整型常数31缺常数32缺整型或实型常数33缺指针类型标识符34无效的函数结果类型35缺标号标识符36缺BEGIN37缺END38缺整型表达式39缺有序表达式40缺布尔表达式41操作数类型与操作符不匹配42表达式错43非法赋值44缺字段标识符45目标文件过长46未定义外部标识符47无效*.OBJ文件记录48代码段过长49数据段过长50缺DO51无效PUBLIC定义52无效EXTRN定义53EXTRN定义过多54缺0F55缺INTERFACE56无效重定位引用57缺THEN58缺T0或DOWNTO59未定义的向前引用60过程过多61无效类型转换62被零除D63无效文件类型64不能读写该类型的变量65缺指针变量66缺字符串变量67缺字符串表达式68单元循环引用69单元名不匹配70单元版本不匹配71单元重名72单元文件格式错误73缺IMPLEMENTATl0N74常数与CASE类型不相匹配75缺记录变量76常数越界77缺文件变量78缺指针变量79缺整型或实型表达式80标号不在当前块中81标号已定义82标号未定义83无效参数84缺UNIT85缺“;”86缺“:”87缺“,”88缺“(”89缺“)”90缺“=”91缺“:=”92缺“[”或“(.”93缺“]”或“.)”94缺“.”96变量过多97无效FOR控制变量98缺整型变量99此处不允许用文件和100字符串长度不匹配101无效字顺序102缺字符串常数103缺整型或实型变量104缺有序变量105INLINE错106缺字符表达式107重定位项过多112CASE常量越界113语句错114不能调用中断过程116必须在8087方式下编译117末找到目标地址118此处不允许包含文件120缺NIL121无效限定符122无效变量引用123符号过多124语句部分过长126文件必须为变量参数127条件符号过多128条件指令错位130初始条件定义错13l过程和函数头与前面定义的不匹酉132严重磁盘错误133不能计算该表达式134表达式错误结束135无效格式说明符136无效间接引用137此处不允许结构变量138无SYSTEM单元不能计算139不能存取该符号140无效浮点运算141不能将覆盖编译至内存142缺过程和函数变量143无效过程或函数引用144不能覆盖该单元147缺对象类型148不允许局部对象类型149缺VIRTUAL150缺方法标识符151不允许虚拟构造方法152缺构造方法标识符153缺释放方法标识符154FAIL只允许在构造方法内使用155无效的操作符和操作数组合156缺内存引用157不能加减可重定位符号158无效寄存器组合159未激活286/287指令160无效符号引用161代码生成错162缺ASM《Turbo Pascal 运行错误对照表》运行错误是指程序运行时出现的错误,当发生时,Turbo Pascal显示如下信息:RUNTIME ERROR NNNN AT XXXX:YYYY其中,nnnn是运行错误代码,xxxx是错误发生的程序段,yyyy是错误地址偏移。
C++常见的编译错误中英对应翻译对于刚学编程,刚接触C++的新手来说,编译运行报错是最头疼的一件事,爆出一堆英文,英语差一点的又不知道什么意思,所以也不知道如何去改,在此,我给大家传一份常见错误中英文对照表及简单解释,希望可以帮到大家:fatal error C1003: error count exceeds number; stopping compilation中文对照:(编译错误)错误太多,停止编译分析:修改之前的错误,再次编译fatal error C1004: unexpected end of file found中文对照:(编译错误)文件未结束分析:一个函数或者一个结构定义缺少“}”、或者在一个函数调用或表达式中括号没有配对出现、或者注释符“/*…*/”不完整等fatal error C1083: Cannot open include file: 'xxx': No such file or directory中文对照:(编译错误)无法打开头文件xxx:没有这个文件或路径分析:头文件不存在、或者头文件拼写错误、或者文件为只读fatal error C1903: unable to recover from previous error(s); stopping compilation中文对照:(编译错误)无法从之前的错误中恢复,停止编译分析:引起错误的原因很多,建议先修改之前的错误error C2001: newline in constant中文对照:(编译错误)常量中创建新行分析:字符串常量多行书写error C2006: #include expected a filename, found 'identifier'中文对照:(编译错误)#include命令中需要文件名分析:一般是头文件未用一对双引号或尖括号括起来,例如“#include stdio.h”error C2007: #define syntax中文对照:(编译错误)#define语法错误分析:例如“#define”后缺少宏名,例如“#define”error C2008: 'xxx' : unexpected in macro definition中文对照:(编译错误)宏定义时出现了意外的xxx分析:宏定义时宏名与替换串之间应有空格,例如“#define TRUE"1"”error C2009: reuse of macro formal 'identifier'中文对照:(编译错误)带参宏的形式参数重复使用分析:宏定义如有参数不能重名,例如“#define s(a,a) (a*a)”中参数a重复error C2010: 'character' : unexpected in macro formal parameter list中文对照:(编译错误)带参宏的形式参数表中出现未知字符分析:例如“#define s(r|) r*r”中参数多了一个字符‘|’error C2014: preprocessor command must start as first nonwhite space中文对照:(编译错误)预处理命令前面只允许空格分析:每一条预处理命令都应独占一行,不应出现其他非空格字符error C2015: too many characters in constant中文对照:(编译错误)常量中包含多个字符分析:字符型常量的单引号中只能有一个字符,或是以“\”开始的一个转义字符,例如“char error = 'error';”error C2017: illegal escape sequence中文对照:(编译错误)转义字符非法分析:一般是转义字符位于' ' 或" " 之外,例如“char error = ' '\n;”error C2018: unknown character '0xhh'中文对照:(编译错误)未知的字符0xhh分析:一般是输入了中文标点符号,例如“char error = 'E';”中“;”为中文标点符号error C2019: expected preprocessor directive, found 'character'中文对照:(编译错误)期待预处理命令,但有无效字符分析:一般是预处理命令的#号后误输入其他无效字符,例如“#!define TRUE 1”error C2021: expected exponent value, not 'character'中文对照:(编译错误)期待指数值,不能是字符分析:一般是浮点数的指数表示形式有误,例如123.456Eerror C2039: 'identifier1' : is not a member of 'identifier2'中文对照:(编译错误)标识符1不是标识符2的成员分析:程序错误地调用或引用结构体、共用体、类的成员error C2041: illegal digit 'x' for base 'n'中文对照:(编译错误)对于n进制来说数字x非法分析:一般是八进制或十六进制数表示错误,例如“int i = 081;”语句中数字‘8’不是八进制的基数error C2048: more than one default中文对照:(编译错误)default语句多于一个分析:switch语句中只能有一个default,删去多余的defaulterror C2050: switch expression not integral中文对照:(编译错误)switch表达式不是整型的分析:switch表达式必须是整型(或字符型),例如“switch ("a")”中表达式为字符串,这是非法的error C2051: case expression not constant中文对照:(编译错误)case表达式不是常量分析:case表达式应为常量表达式,例如“case "a"”中“"a"”为字符串,这是非法的error C2052: 'type' : illegal type for case expression中文对照:(编译错误)case表达式类型非法分析:case表达式必须是一个整型常量(包括字符型)error C2057: expected constant expression中文对照:(编译错误)期待常量表达式分析:一般是定义数组时数组长度为变量,例如“int n=10; int a[n];”中n为变量,这是非法的error C2058: constant expression is not integral中文对照:(编译错误)常量表达式不是整数分析:一般是定义数组时数组长度不是整型常量error C2059: syntax error : 'xxx'中文对照:(编译错误)‘xxx’语法错误分析:引起错误的原因很多,可能多加或少加了符号xxxerror C2064: term does not evaluate to a function中文对照:(编译错误)无法识别函数语言分析:1、函数参数有误,表达式可能不正确,例如“sqrt(s(s-a)(s-b)(s-c));”中表达式不正确2、变量与函数重名或该标识符不是函数,例如“int i,j; j=i();”中i不是函数error C2065: 'xxx' : undeclared identifier中文对照:(编译错误)未定义的标识符xxx分析:1、如果xxx为cout、cin、scanf、printf、sqrt等,则程序中包含头文件有误2、未定义变量、数组、函数原型等,注意拼写错误或区分大小写。
C语言出错提示英汉对照转载自:王者之心转载于:今天 20:07 | 分类:个人日记阅读:(1) 评论:(0)错误信息说明:Turbo C 的源程序错误分为三种类型:致命错误、一般错误和警告。
其中,致命错误通常是内部编译出错;一般错误指程序的语法错误、磁盘或内存存取错误或命令行错误等;警告则只是指出一些得怀疑的情况,它并不防止编译的进行。
下面按字母顺序A~Z分别列出致命错误及一般错误信息,英汉对照及处理方法:(一)、致命错误英汉对照及处理方法:A-B致命错误Bad call of in-line function (内部函数非法调用)分析与处理:在使用一个宏定义的内部函数时,没能正确调用。
一个内部函数以两个下划线(__)开始和结束。
Irreducable expression_r tree (不可约表达式树)分析与处理:这种错误指的是文件行中的表达式太复杂,使得代码生成程序无法为它生成代码。
这种表达式必须避免使用。
Register allocation failure (存储器分配失败)分析与处理:这种错误指的是文件行中的表达式太复杂,代码生成程序无法为它生成代码。
此时应简化这种繁杂的表达式或干脆避免使用它。
(二)、一般错误信息英汉照及处理方法#operator not followed by maco argument name(#运算符后没跟宏变元名) 分析与处理:在宏定义中,#用于标识一宏变串。
“#”号后必须跟一个宏变元名。
'xxxxxx' not anargument ('xxxxxx'不是函数参数)分析与处理:在源程序中将该标识符定义为一个函数参数,但此标识符没有在函数中出现。
Ambiguous symbol 'xxxxxx' (二义性符号'xxxxxx')分析与处理:两个或多个结构的某一域名相同,但具有的偏移、类型不同。
在变量或表达式中引用该域而未带结构名时,会产生二义性,此时需修改某个域名或在引用时加上结构名。
C语⾔错误⼤全及中⽂解释1: Ambiguous operators need parentheses — 不明确的运算需要⽤括号括起2: Ambiguous symbol xxx — 不明确的符号3: Argument list syntax error — 参数表语法错误4: Array bounds missing — 丢失数组界限符5: Array size toolarge — 数组尺⼨太⼤6: Bad character in paramenters — 参数中有不适当的字符7: Bad file name format in include directive — 包含命令中⽂件名格式不正确8: Bad ifdef directive synatax — 编译预处理ifdef有语法错9: Bad undef directive syntax — 编译预处理undef有语法错10: Bit field too large — 位字段太长11: Call of non-function — 调⽤未定义的函数12: Call to function with no prototype — 时没有函数的说明13: Cannot modify a const object — 不允许修改常量对象14: Case outside of switch — 漏掉了case 语句15: Case syntax error — Case 语法错误16: Code has no effect — 代码不可能执⾏到17: Compound statement missing{ — 分程序漏掉"{"18: Conflicting type modifiers — 不明确的类型说明符19: Constant expression required — 要求常量表达式20: Constant out of range in comparison — 在⽐较中常量超出范围21: Conversion may lose significant digits — 转换时会丢失意义的数字22: Conversion of near pointer not allowed — 不允许转换近指针23: Could not find file xxx — 找不到XXX⽂件24: Declaration missing ; — 说明缺少";"25: Declaration syntax error — 说明中出现语法错误26: Default outside of switch — Default 出现在switch语句之外27: Define directive needs an identifier — 定义编译预处理需要标识符28: Division by zero — ⽤零作除数29: Do statement must have while — Do-while语句中缺少while部分30: Enum syntax error — 语法错误31: Enumeration constant syntax error — 枚举常数语法错误32: Error directive :xxx — 错误的编译预处理命令33: Error writing output file — 写输出⽂件错误34: Expression syntax error — 表达式语法错误35: Extra parameter in call — 调⽤时出现多余错误36: File name too long — ⽂件名太长37: Function call missing ) — 缺少右括号38: Fuction definition out of place — 函数定义位置错误39: Fuction should return a value — 函数必需返回⼀个值40: Goto statement missing label — 没有标号41: Hexadecimal or octal constant too large — 或8进制常数太⼤42: Illegal character x — ⾮法字符x43: Illegal initialization — ⾮法的初始化44: Illegal octal digit — ⾮法的8进制数字 A45: Illegal pointer subtraction — ⾮法的指针相减46: Illegal structure operation — ⾮法的结构体操作47: Illegal use of floating point — ⾮法的浮点运算48: Illegal use of pointer — 指针使⽤⾮法49: Improper use of a typedefsymbol — 类型定义符号使⽤不恰当50: In-line assembly not allowed — 不允许使⽤⾏间汇编51: Incompatible storage class — 存储类别不相容52: Incompatible type conversion — 不相容的53: Incorrect number format — 错误的数据格式54: Incorrect use of default — Default使⽤不当55: Invalid indirection — ⽆效的间接运算56: Invalid pointer addition — 指针相加⽆效57: Irreducible expression tree — ⽆法执⾏的表达式运算58: Lvalue required — 需要逻辑值0或⾮0值59: Macro argument syntax error — 宏参数语法错误60: Macro expansion too long — 宏的扩展以后太长61: Mismatched number of parameters in definition — 定义中参数个数不匹配62: Misplaced break — 此处不应出现63: Misplaced continue — 此处不应出现continue语句64: Misplaced decimal point — 此处不应出现⼩数点65: Misplaced elif directive — 不应编译预处理elif66: Misplaced else — 此处不应出现else67: Misplaced else directive — 此处不应出现编译预处理else68: Misplaced endif directive — 此处不应出现编译预处理endif69: Must be addressable — 必须是可以编址的70: Must take address of memory location — 必须存储定位的地址71: No declaration for function xxx — 没有函数xxx的说明72: No stack — 缺少堆栈73: No type information — 没有类型信息74: Non-portable pointer assignment — 不可移动的指针(地址常数)赋值75: Non-portable pointer comparison — 不可移动的指针(地址常数)⽐较76: Non-portable pointer conversion — 不可移动的指针(地址常数)转换77: Not a valid expression format type — 不合法的表达式格式78: Not an allowed type — 不允许使⽤的类型79: Numeric constant too large — 数值常太⼤80: Out of memory — 内存不够⽤81: Parameter xxx is never used — 能数xxx没有⽤到82: Pointer required on left side of -> — 符号->的左边必须是指针83: Possible use of xxx before definition — 在定义之前就使⽤了xxx(警告)84: Possibly incorrect assignment — 赋值可能不正确85: Redeclaration of xxx — 重复定义了xxx86: Redefinition of xxx is not identical — xxx的两次定义不⼀致87: Register allocation failure — 寄存器定址失败88: Repeat count needs an lvalue — 重复计数需要逻辑值89: Size of structure or array not known — 结构体或数给⼤⼩不确定90: Statement missing ; — 语句后缺少";"91: Structure or union syntax error — 结构体或联合体语法错误92: Structure size too large — 结构体尺⼨太⼤93: Sub scripting missing ] — 下标缺少右⽅括号94: Superfluous & with function or array — 函数或数组中有多余的"&"95: Suspicious pointer conversion — 可疑的指针转换96: Symbol limit exceeded — 符号超限97: Too few parameters in call — 时的实参少于函数的参数不98: Too many default cases — Default太多(switch语句中⼀个)99: Too many error or warning messages — 错误或警告信息太多100: Too many type in declaration — 说明中类型太多101: Too much auto memory in function — 函数⽤到的局部存储太多102: Too much global data defined in file — ⽂件中全局数据太多103: Two consecutive dots — 两个连续的句点104: Type mismatch in parameter xxx — 参数xxx类型不匹配105: Type mismatch in redeclaration of xxx — xxx重定义的类型不匹配106: Unable to create output file xxx — ⽆法建⽴输出⽂件xxx107: Unable to open include file xxx — ⽆法打开被包含的⽂件xxx108: Unable to open input file xxx — ⽆法打开输⼊⽂件xxx109: Undefined label xxx — 没有定义的标号xxx110: Undefined structure xxx — 没有定义的结构xxx111: Undefined symbol xxx — 没有定义的符号xxx112: Unexpected end of file in comment started on line xxx — 从xxx⾏开始的注解尚未结束⽂件不能结束113: Unexpected end of file in conditional started on line xxx — 从xxx 开始的条件语句尚未结束⽂件不能结束114: Unknown assemble instruction — 未知的汇编结构115: Unknown option — 未知的操作116: Unknown preprocessor directive: xxx — 不认识的预处理命令xxx117: Unreachable code — ⽆路可达的代码118: Unterminated string or character constant — 字符串缺少引号119: User break — ⽤户强⾏中断了程序120: Void functions may not return a value — Void类型的函数不应有返回值121: Wrong number of arguments — 的参数数⽬错122: xxx not an argument — xxx不是参数123: xxx not part of structure — xxx不是结构体的⼀部分124: xxx statement missing ( — xxx语句缺少左括号125: xxx statement missing ) — xxx语句缺少右括号126: xxx statement missing ; — xxx缺少分号127: xxx declared but never used — 说明了xxx但没有使⽤128: xxx is assigned a value which is never used — 给xxx赋了值但未⽤过。
汇编程序MASM 5.0编译出错信息表-中文说明用MASM 5.0对汇编程序进行汇编的时候,如果检查出某行语句有错误,就会在屏幕上给出出错信息,若指定了列表文件(.LST),MASM 5.0也会在列表文件中给出错误信息。
MASM5.0出错信息格式: WARNING/ERROR错误信息码:错误描述信息错误描述信息码由五个字符组成,第一个是字母A,表示汇编语言程序出错;接着有一个数字指明出错类别:2为致命错误,4为严肃警告,5为建议性警告,最后三位为错误编号。
下面的手册中给出了错误编号、错误描述以及中文解释说明,方便大家查阅,包括MASM 5.0常见编译错误。
000 Block nesting error嵌套出错.嵌套的过程,段,结构,宏指令或重复块等非正常结束.例如在嵌套语句中有外层的结束语句,而无内层的结束语局001 Extra characters on line一语句行有多余字符,可能是语句中给出的参数太多002 Internal error-Register already defined这是一个内部错误.如出现该错误,请记下发生错误的条件,并使用Product Assistance Request 表与Microsoft公司联系003 Unkown type specifer未知的类型说明符.例如类型字符拼错,把BYTE写成BIT,NEAR写成NAER等004 Redefinition of symbol符号重定义.同一标识符在两个位置上定义.在汇编第一遍扫描时,在这个标识符的第二个定义位置上给出这个错误005 Symbol is multidefined符号多重定义.同一标识符在两个位置上定义.在汇编第二遍扫描时,每当遇到这个标识符都给出这个错误006 Phase error between passes两次扫描间的遍错.一个标号在二次扫描时得到不同的地址值,就会给出这种错误.若在启动MASM时使用/D 任选项,产生第一遍扫描的列表文件,它可帮助你查找这种错误007 Already had ELSE clause已有ELSE语句.在一个条件块里使用多于一个的ELSE语句008 Must be in conditional block没有在条件块里.通常是有ENDIF或ELSE语句,而无IF 语句009 Symbol not defined符号未定义,在程序中引用了未定义的标识符010 Syntax error语法错误.不是汇编程序所能识别的一个语句011 Type illegal in context指定非法类型.例如对一个过程指定BYTE类型,而不是NEAR或FAR012 Group name must be unique组名应是唯一的.作为组名的符号作为其他符号使用013 Must be declared during pass 1必须在第一遍扫描期间定义.在第一遍扫描期间,如一个符号在未定义前就引用,就会出现这种错误.014 Illegal public declaration一个标识符被非法的指定为PUBLIC类型015 Symbol already defferent kind重新定义一个符号为不同种类符号.例如一个段名重新被当作变量名定义使用016 Reserved word used as symbol把汇编语言规定的保留字作标识符使用017 Forward reference illegal非法的向前引用.在第一遍扫描期间,引用一个未定义符号.018 Operand must be register操作数位置上应是寄存器,但出现了标识符019 Wrong type of register使用寄存器出错020 Operand must be segment or group应该给出一个段名或组名.例如ASSUME语句中应为某段寄存器和指定一个段名或组名,而不应是别的标号或变量名等021 Symbol has no segment不知道标识符的段属性022 Operand must be type specifier操作数应给出类型说明,如NEAR,FAR,BYTE等023 Symbol alread defined locally以被指定为内部的标识符,企图在EXTRN语句中又定义外部标识024 Segment paraneters are changed段参数被改变.如同一标识符定义在不同段内025 Improper align/combin type段定义时的定位类型/组合类型使用出错026 Reference to multidefined symbol指令引用了多重定义的标识符027 Operand expected需要一个操作数,只有操作符028 Operator expected需要一个操作符,但只有操作数029 Divdsion by 0 or overflow除以0或溢出030 Negative shift count运算符SHL或SHR的移位表达式值为负数031 Operand type must match操作数类型不匹配.双操作数指令的两个操作数长度不一致,一个是字节,一个是字032 Illegal use of external外部符号使用出错033 Must be record field name应为记录字段名.在记录字段名位置上出现另外的符号034 Must be record name or field name应为记录名或记录字段名.在记录名或记录字段名位置上出现另外的符号035 Operand must have size应指明操作数的长度(如BYTE,WORD等).通常使用PTR运算即可改正036 Must be variable,label,or constant应该是变量名,标号,或常数的位置上出现了其他信息037 Must be stucture field name应该为结构字段名.在结构字段名位置上出现了另外的符号038 Lefe operand must segment操作数的左边应该是段的信息.如设DA1,DA2均是变量名,下列语句就是错误的:"MOV AX,DA1:DA2".DA1位置上应使用某段寄存器名039 One operand must constant操作数必须是常数.040 Operand must be in same segment or one constant—运算符用错.例如"MOV AL,—VAR",其中VAR是变量名,应有一常数参加运算.又如两个不同段的变量名相减出错041 Normal type operand expected要求给出一个正常的操作数.042 Constant expected要求给出一个常数.043 Operand must have segment运算符SEG用错.。
C语⾔出错信息中英⽂对照表Ambiguous operators need parentheses 不明确的运算需要⽤括号括起Ambiguous symbol ’’xxx’’不明确的符号Argument list syntax error参数表语法错误Array bounds missing丢失数组界限符Array size toolarge数组尺⼨太⼤Bad character in paramenters参数中有不适当的字符Bad file name format in include directive 包含命令中⽂件名格式不正确Bad ifdef directive synatax编译预处理ifdef有语法错Bad undef directive syntax编译预处理undef有语法错Bit field too large位字段太长Call of non-function调⽤未定义的函数Call to function with no prototype调⽤函数时没有函数的说明Cannot modify a const object不允许修改常量对象Case outside of switch漏掉了case 语句Case syntax errorCase 语法错误Code has no effect代码不可述不可能执⾏到Compound statement missing{分程序漏掉"{"Conflicting type modifiers不明确的类型说明符Constant expression required要求常量表达式Constant out of range in comparison 在⽐较中常量超出范围Conversion may lose significant digits 转换时会丢失意义的数字Conversion of near pointer not allowed 不允许转换近指针Could not find file ’’xxx’’找不到XXX⽂件Declaration missing ;说明缺少";"Declaration syntax error说明中出现语法错误Default outside of switchDefault 出现在switch语句之外Define directive needs an identifier定义编译预处理需要标识符Division by zero⽤零作除数Do statement must have whileDo-while语句中缺少while部分Enum syntax error枚举类型语法错误Enumeration constant syntax error枚举常数语法错误Error directive :xxx错误的编译预处理命令Error writing output file写输出⽂件错误Expression syntax error表达式语法错误Extra parameter in call调⽤时出现多余错误File name too long⽂件名太长Function call missing )函数调⽤缺少右括号Fuction definition out of place函数定义位置错误Fuction should return a value函数必需返回⼀个值Goto statement missing labelGoto语句没有标号Hexadecimal or octal constant too large 16进制或8进制常数太⼤Illegal character ’’x’’⾮法字符xIllegal initialization⾮法的初始化Illegal octal digit⾮法的8进制数字Illegal pointer subtraction⾮法的指针相减Illegal structure operation⾮法的结构体操作Illegal use of floating point⾮法的浮点运算Illegal use of pointer指针使⽤⾮法Improper use of a typedefsymbol 类型定义符号使⽤不恰当In-line assembly not allowed不允许使⽤⾏间汇编Incompatible storage class存储类别不相容Incompatible type conversion不相容的类型转换Incorrect number format错误的数据格式Incorrect use of defaultDefault使⽤不当Invalid indirection⽆效的间接运算Invalid pointer addition指针相加⽆效Irreducible expression tree⽆法执⾏的表达式运算Lvalue required需要逻辑值0或⾮0值Macro argumentsyntax error宏参数语法错误Macro expansion too long宏的扩展以后太长Mismatched number of parameters in definition 定义中参数个数不匹配Misplaced break此处不应出现break语句Misplaced continue此处不应出现continue语句Misplaced decimal point此处不应出现⼩数点xxx’’ is assigned a valueMisplaced else此处不应出现elseMisplaced else directive此处不应出现编译预处理elseMisplaced endif directive此处不应出现编译预处理endifMust be addressable必须是可以编址的Must take address of memory location必须存储定位的地址No declaration for function ’’xxx’’没有函数xxx的说明No stack缺少堆栈No type information没有类型信息Non-portable pointer assignment不可移动的指针(地址常数)赋值Non-portable pointer comparison不可移动的指针(地址常数)⽐较Non-portable pointer conversion不可移动的指针(地址常数)转换Not a valid expression format type不合法的表达式格式Not an allowed type不允许使⽤的类型Numeric constant too large数值常太⼤Out of memory内存不够⽤Parameter ’’xxx’’ is never used能数xxx没有⽤到Pointer required on left side of ->符号->的左边必须是指针Possible use of ’’xxx’’ before definition 在定义之前就使⽤了xxx(警告)Possibly incorrect assignment赋值可能不正确Redeclaration of ’’xxx’’重复定义了xxxRedefinition of ’’xxx’’ is not identical xxx的两次定义不⼀致Register allocation failure寄存器定址失败Repeat count needs an lvalue重复计数需要逻辑值Size of structure or array not known结构体或数给⼤⼩不确定Statement missing ;语句后缺少";"Structure or union syntax error结构体或联合体语法错误Structure size too large结构体尺⼨太⼤Sub scripting missing ] 下标缺少右⽅括号Superfluous & with function or array函数或数组中有多余的"&"Suspicious pointer conversion可疑的指针转换Symbol limit exceeded符号超限Too few parameters in call函数调⽤时的实参少于函数的参数不Too many default casesDefault太多(switch语句中⼀个)Too many error or warning messages错误或警告信息太多Too many type in declaration说明中类型太多Too much auto memory in function函数⽤到的局部存储太多Too much global data defined in file⽂件中全局数据太多Two consecutive dots两个连续的句点Type mismatch in parameter xxx参数xxx类型不匹配Ty pe mismatch in redeclaration of ’’xxx’’xxx重定义的类型不匹配Unable to create output file ’’xxx’’⽆法建⽴输出⽂件xxxUnable to open include file ’’xxx’’⽆法打开被包含的⽂件xxxUnable to open input file ’’xxx’’⽆法打开输⼊⽂件xxxUndefined labe l ’’xxx’’没有定义的标号xxxUndefined structure ’’xxx’’没有定义的结构xxxUndefined symbol ’’xxx’’没有定义的符号xxxUnexpected end of file in comment started on line xxx 从xxx⾏开始的注解尚未结束⽂件不能结束Unexpected end of file in conditional started on line xxx 从xxx 开始的条件语句尚未结束⽂件不能结束Unknown assemble instruction未知的汇编结构Unknown option未知的操作Unknown preprocessor directive: ’’xxx’’不认识的预处理命令xxxUnreachable code⽆路可达的代码Unterminated string or character constant字符串缺少引号User break⽤户强⾏中断了程序Void functions may not return a valueVoid类型的函数不应有返回值Wrong number of arguments调⽤函数的参数数⽬错’’xxx’’ not an argumentxxx不是参数’’xxx’’ not part of structurexxx不是结构体的⼀部分xxx statement missing (xxx语句缺少左括号xxx statement missing )xxx语句缺少右括号xxx statement missing ;xxx缺少分号’’xxx’’ declared but never used说明了xxx但没有使⽤’’xxx’’ is assigned a value which is never used 给xxx赋了值但未⽤过Zero length structure结构体的长度为零Ambiguous symbol "xxx"不明确的符号Argument list syntax error参数表语法错误Array bounds missing丢失数组界限符Array size toolarge数组尺⼨太⼤Bad character in paramenters参数中有不适当的字符Bad file name format in include directive 包含命令中⽂件名格式不正确Bad ifdef directive synatax编译预处理ifdef有语法错Bad undef directive syntax编译预处理undef有语法错Bit field too large位字段太长Call of non-function调⽤未定义的函数Call to function with no prototype调⽤函数时没有函数的说明Cannot modify a const object不允许修改常量对象Case outside of switch漏掉了case 语句Case syntax errorCase 语法错误Code has no effect代码不可述不可能执⾏到Compound statement missing{分程序漏掉"{"Conflicting type modifiers不明确的类型说明符Constant expression required要求常量表达式Constant out of range in comparison在⽐较中常量超出范围Conversion may lose significant digits 转换时会丢失意义的数字Conversion of near pointer not allowed 不允许转换近指针Could not find file "xxx"找不到XXX⽂件Declaration missing ;说明缺少";"Declaration syntax error说明中出现语法错误Default outside of switchDefault 出现在switch语句之外Define directive needs an identifier 定义编译预处理需要标识符Division by zero⽤零作除数Do statement must have whileDo-while语句中缺少while部分Enum syntax error枚举类型语法错误Enumeration constant syntax error枚举常数语法错误Error directive :xxx错误的编译预处理命令Error writing output file写输出⽂件错误Expression syntax error表达式语法错误Extra parameter in call调⽤时出现多余错误File name too long⽂件名太长Function call missing )函数调⽤缺少右括号Fuction definition out of place函数定义位置错误Fuction should return a value函数必需返回⼀个值Goto statement missing labelGoto语句没有标号Hexadecimal or octal constant too large 16进制或8进制常数太⼤Illegal character "x"⾮法字符xIllegal initialization⾮法的初始化Illegal octal digit⾮法的8进制数字Illegal pointer subtraction⾮法的指针相减Illegal structure operation⾮法的结构体操作Illegal use of floating point⾮法的浮点运算Illegal use of pointer指针使⽤⾮法 Improper use of a typedefsymbol 类型定义符号使⽤不恰当In-line assembly not allowed不允许使⽤⾏间汇编Incompatible storage class存储类别不相容Incompatible type conversion不相容的类型转换Incorrect number format错误的数据格式Incorrect use of defaultDefault使⽤不当Invalid indirection⽆效的间接运算Invalid pointer addition指针相加⽆效Irreducible expression tree⽆法执⾏的表达式运算Lvalue required需要逻辑值0或⾮0值 Macro argumentsyntax error宏参数语法错误Macro expansion too long宏的扩展以后太长Mismatched number of parameters in definition 定义中参数个数不匹配Misplaced break此处不应出现break语句Misplaced continue此处不应出现continue语句Misplaced decimal point此处不应出现⼩数点xxx" is assigned a valueMisplaced else此处不应出现elseMisplaced else directive此处不应出现编译预处理elseMisplaced endif directive此处不应出现编译预处理endifMust be addressable必须是可以编址的Must take address of memory location必须存储定位的地址No declaration for function "xxx"没有函数xxx的说明No stack缺少堆栈No type information没有类型信息Non-portable pointer assignment不可移动的指针(地址常数)赋值Non-portable pointer comparison不可移动的指针(地址常数)⽐较Non-portable pointer conversion不可移动的指针(地址常数)转换Not a valid expression format type不合法的表达式格式Not an allowed type不允许使⽤的类型Numeric constant too large数值常太⼤Out of memory内存不够⽤Parameter "xxx" is never used能数xxx没有⽤到Pointer required on left side of ->符号->的左边必须是指针Possible use of "xxx" before definition 在定义之前就使⽤了xxx(警告)Possibly incorrect assignment赋值可能不正确Redeclaration of "xxx"重复定义了xxxRedefinition of "xxx" is not identical xxx的两次定义不⼀致Register allocation failure寄存器定址失败Repeat count needs an lvalue重复计数需要逻辑值Size of structure or array not known结构体或数给⼤⼩不确定Statement missing ;语句后缺少";"Structure or union syntax error结构体或联合体语法错误Structure size too large结构体尺⼨太⼤ Sub scripting missing ] 下标缺少右⽅括号Superfluous & with function or array函数或数组中有多余的"&"Suspicious pointer conversion可疑的指针转换Symbol limit exceeded符号超限Too few parameters in call函数调⽤时的实参少于函数的参数Too many default casesDefault太多(switch语句中⼀个)Too many error or warning messages错误或警告信息太多Too many type in declaration说明中类型太多Too much auto memory in function函数⽤到的局部存储太多Too much global data defined in file⽂件中全局数据太多Two consecutive dots两个连续的句点Type mismatch in parameter xxx参数xxx类型不匹配Type mismatch in redeclaration of "xxx" xxx重定义的类型不匹配Unable to create output file "xxx"⽆法建⽴输出⽂件xxxUnable to open include file "xxx"⽆法打开被包含的⽂件xxxUnable to open input file "xxx"⽆法打开输⼊⽂件xxxUndefined label "xxx"没有定义的标号xxxUndefined structure "xxx"没有定义的结构xxxUndefined symbol "xxx"没有定义的符号xxxUnexpected end of file in comment started on line xxx从xxx⾏开始的注解尚未结束⽂件不能结束Unexpected end of file in conditional started on line xxx 从xxx 开始的条件语句尚未结束⽂件不能结束Unknown assemble instruction未知的汇编结构Unknown option未知的操作Unknown preprocessor directive: "xxx"不认识的预处理命令xxxUnreachable code⽆路可达的代码Unterminated string or character constant字符串缺少引号User break⽤户强⾏中断了程序Void functions may not return a valueVoid类型的函数不应有返回值Wrong number of arguments调⽤函数的参数数⽬错"xxx" not an argumentxxx不是参数"xxx" not part of structurexxx不是结构体的⼀部分xxx statement missing (xxx语句缺少左括号xxx statement missing )xxx语句缺少右括号xxx statement missing ;xxx缺少分号"xxx" declared but never used说明了xxx但没有使⽤"xxx" is assigned a value which is never used 给xxx赋了值但未⽤过Zero length structure结构体的长度为零。