150+!單片機(jī)編譯器KEIL的常見錯(cuò)誤匯總(中英對(duì)照)

error 1:Out of memory 內(nèi)存溢出

error 2:Identifier expected 缺標(biāo)識(shí)符

error 3:Unknown identifier 未定義的標(biāo)識(shí)符

error 4:Duplicate identifier 重復(fù)定義的標(biāo)識(shí)符

error 5:Syntax error 語法錯(cuò)誤

error 6:Error in real constant 實(shí)型常量錯(cuò)誤

error 7:Error in integer constant 整型常量錯(cuò)誤

error 8:String constant exceeds line 字符串常量超過一行

error 10:Unexpected end of file 文件非正常結(jié)束

error 11:Line too long 行太長

error 12:Type identifier expected 未定義的類型標(biāo)識(shí)符

error 13:Too many open files 打開文件太多

error 14:Invalid file name 無效的文件名

error 15:File not found 文件未找到

error 16Disk full 磁盤滿

error 17Invalid compiler directive 無效的編譯命令

error 18Too many files 文件太多

error 19Undefined type in pointer def 指針定義中未定義類型

error 20Variable identifier expected 缺變量標(biāo)識(shí)符

error 21Error in type 類型錯(cuò)誤

error 22Structure too large 結(jié)構(gòu)類型太長

error 23Set base type out of range 集合基類型越界

error 24File components may not be files or objectsfile分量不能是文件或?qū)ο?/span>

error 25Invalid string length 無效的字符串長度

error 26Type mismatch 類型不匹配

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 缺整型或?qū)嵭统A?/span>

error 33:Pointer Type identifier expected 缺指針類型標(biāo)識(shí)符

error 34:Invalid function result type 無效的函數(shù)結(jié)果類型

error 35:Label identifier expected 缺標(biāo)號(hào)標(biāo)識(shí)符

error 36:BEGIN expected 缺BEGIN

error 37:END expected 缺END

error 38:Integer expression expected 缺整型表達(dá)式

error 39:Ordinal expression expected 缺有序類型表達(dá)式

error 40:Boolean expression expected 缺布爾表達(dá)式

error 41:Operand types do not match 操作數(shù)類型不匹配

error 42:Error in expression 表達(dá)式錯(cuò)誤

error 43:Illegal assignment 非法賦值

error 44:Field identifier expected 缺域標(biāo)識(shí)符

error 45:Object file too large 目標(biāo)文件太大

error 46:Undefined external 未定義的外部過程與函數(shù)

error 47:Invalid object file record 無效的OBJ文件格式

error 48:Code segment too large 代碼段太長

error 49:Data segment too large 數(shù)據(jù)段太長

error 50:DO expected 缺DO

error 51:Invalid PUBLIC definition 無效的PUBLIC定義

error 52:Invalid EXTRN definition 無效的EXTRN定義

error 53Too many EXTRN definitions 太多的EXTRN定義

error 54:OF expected 缺O(jiān)F

error 55:INTERFACE expected 缺INTERFACE

error 56:Invalid relocatable reference 無效的可重定位引用

error 57:THEN expected 缺THEN

error 58TO or DOWNTO expected 缺TO或DOWNTO

error 59:Undefined forward 提前引用未經(jīng)定義的說明

error 61:Invalid typecast 無效的類型轉(zhuǎn)換

error 62:Division by zero 被零除

error 63:Invalid file type 無效的文件類型

error 64:Cannot read or write variables of this type 不能讀寫此類型變量

error 65:Pointer variable expected 缺指針類型變量

error 66:String variable expected 缺字符串變量

error 67:String expression expected 缺字符串表達(dá)式

error 68:Circular unit reference 單元UNIT部件循環(huán)引用

error 69:Unit name mismatch 單元名不匹配

error 70:Unit version mismatch 單元版本不匹配

error 71:Internal stack overflow 內(nèi)部堆棧溢出

error 72:Unit file format error 單元文件格式錯(cuò)誤

error 73:IMPLEMENTATION expected 缺IMPLEMENTATION

error 74:Constant and case types do not match 常量和CASE類型不匹配

error 75:Record or object variable expected 缺記錄或?qū)ο笞兞?/span>

error 76:Constant out of range 常量越界

error 77:File variable expected 缺文件變量

error 78:Pointer expression expected 缺指針表達(dá)式

error 79:Integer or real expression expected 缺整型或?qū)嵭捅磉_(dá)式

error 80:Label not within current block 標(biāo)號(hào)不在當(dāng)前塊內(nèi)

error 81:Label already defined 標(biāo)號(hào)已定義

error 82:Undefined label in preceding statement part 在前面未定義標(biāo)號(hào)

error 83:Invalid @ argument 無效的@參數(shù)

error 84:UNIT expected 缺UNIT

error 85";" expected 缺“;”

error 86:":" expected 缺“:”

error 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 variable 無效的FOR循環(huán)控制變量

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 缺整型或?qū)嵭妥兞?/span>

error 104:Ordinal variable expected 缺有序類型變量

error 105:INLINE error INLINE錯(cuò)誤

error 106:Character expression expected 缺字符表達(dá)式

error 107:Too many relocation items 重定位項(xiàng)太多

error 108:Overflow in arithmetic operation 算術(shù)運(yùn)算溢出

error 112:CASE constant out of range CASE常量越界

error 113:Error in statement 表達(dá)式錯(cuò)誤

error 114:Cannot call an interrupt procedure 不能調(diào)用中斷過程

error 116:Must be in 8087 mode to compile this 必須在8087模式編譯

error 117:Target address not found 找不到目標(biāo)地址

error 118:Include files are not allowed here 該處不允許INCLUDE文件

error 119:No inherited methods are accessible here 該處繼承方法不可訪問

error 121:Invalid qualifier 無效的限定符

error 122:Invalid variable reference 無效的變量引用

error 123:Too many symbols 符號(hào)太多

error 124:Statement part too large 語句體太長

error 126:Files must be var parameters 文件必須是變量形參

error 127:Too many conditional symbols 條件符號(hào)太多

error 128:Misplaced conditional directive 條件指令錯(cuò)位

error 129:ENDIF directive missing 缺ENDIF指令

error 130:Error in initial conditional defines 初始條件定義錯(cuò)誤

error 131:Header does not match previous definition 和前面定義的過程或函數(shù)不匹配

error 133:Cannot evaluate this expression 不能計(jì)算該表達(dá)式

error 134:Expression incorrectly terminated 表達(dá)式錯(cuò)誤結(jié)束

error 135:Invalid format specifier 無效格式說明符

error 136:Invalid indirect reference 無效的間接引用

error 137:Structured variables are not allowed here 該處不允許結(jié)構(gòu)變量

error 138:Cannot evaluate without System unit 沒有System單元不能計(jì)算

error 139:Cannot access this symbol 不能存取符號(hào)

error 140:Invalid floating point operation 無效的符號(hào)運(yùn)算

error 141:Cannot compile overlays to memory 不能編譯覆蓋模塊至內(nèi)存

error 142:Pointer or procedural variable expected 缺指針或過程變量

error 143:Invalid procedure or function reference 無效的過程或函數(shù)調(diào)用

error 144:Cannot overlay this unit 不能覆蓋該單元

error 146:File access denied 不允許文件訪問

error 147:Object type expected 缺對(duì)象類型

error 148:Local object types are not allowed 不允許局部對(duì)象類型

error 149:VIRTUAL expected 缺VIRTUAL

error 150Method identifier expected 缺方法標(biāo)識(shí)符

error 151:Virtual constructors are not allowed 不允許虛構(gòu)造函數(shù)

error 152:Constructor identifier expected 缺構(gòu)造函數(shù)標(biāo)識(shí)符

error 153:Destructor identifier expected 缺析構(gòu)函數(shù)標(biāo)識(shí)符

error 154:Fail only allowed within constructors 只能在構(gòu)造函數(shù)內(nèi)使用Fail標(biāo)準(zhǔn)過程

error 155:Invalid combination of opcode and operands 操作數(shù)與操作符無效組合

error 156:Memory reference expected 缺內(nèi)存引用指針

error 157:Cannot add or subtract relocatable symbols 不能加減可重定位符號(hào)

error 158:Invalid register combination 無效寄存器組合

error 159:286/287 instructions are not enabled 未激活286/287指令

error 160:Invalid symbol reference 無效符號(hào)指針

error 161:Code generation error 代碼生成錯(cuò)誤

error 162:ASM expected 缺ASM

error 166:Procedure or function identifier expected 缺過程或函數(shù)標(biāo)識(shí)符

error 167:Cannot export this symbol 不能輸出該符號(hào)

error 168:Duplicate export name 外部文件名重復(fù)

error 169:Executable file header too large 可執(zhí)行文件頭太長

error 170:Too many segments 段太多

150+!單片機(jī)編譯器KEIL的常見錯(cuò)誤匯總(中英對(duì)照)的圖1
150+!單片機(jī)編譯器KEIL的常見錯(cuò)誤匯總(中英對(duì)照)的圖2

掃碼入群

掃碼添加管理員微信

加入“電子產(chǎn)品世界”粉絲交流群

↓↓↓↓點(diǎn)擊閱讀原文,查看更多新聞

登錄后免費(fèi)查看全文
立即登錄
App下載
技術(shù)鄰APP
工程師必備
  • 項(xiàng)目客服
  • 培訓(xùn)客服
  • 平臺(tái)客服

TOP

7