KEIL編譯錯(cuò)誤信息表_第1頁(yè)
KEIL編譯錯(cuò)誤信息表_第2頁(yè)
KEIL編譯錯(cuò)誤信息表_第3頁(yè)
KEIL編譯錯(cuò)誤信息表_第4頁(yè)
KEIL編譯錯(cuò)誤信息表_第5頁(yè)
已閱讀5頁(yè),還剩8頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、錯(cuò)誤代碼及錯(cuò)誤信息錯(cuò)誤釋義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 語(yǔ)法錯(cuò)誤error 6: Error in real constant 實(shí)型常量錯(cuò)誤error 7: Error in integer constant 整型常量錯(cuò)誤error 8: String constant exceeds line 字符串常量超過(guò)一行er

2、ror 10: Unexpected end of file 文件非正常結(jié)束error 11: Line too long 行太長(zhǎng)error 12: Type identifier expected 未定義的類型標(biāo)識(shí)符error 13: Too many open files 打開文件太多error 14: Invalid file name 無(wú)效的文件名error 15: File not found 文件未找到error 16: Disk full 磁盤滿error 17: Invalid compiler directive 無(wú)效的編譯命令error 18: Too many files

3、 文件太多error 19: Undefined type in pointer def 指針定義中未定義類型error 20: Variable identifier expected 缺變量標(biāo)識(shí)符error 21: Error in type 類型錯(cuò)誤error 22: Structure too large 結(jié)構(gòu)類型太長(zhǎng)error 23: Set base type out of range 集合基類型越界error 24: File components may not be files or objectsfile 分量不能是文件或?qū)ο?error 25: Invalid strin

4、g length 無(wú)效的字符串長(zhǎng)度error 26: Type mismatch 類型不匹配error 27: error 27: Invalid subrange base type 無(wú)效的子界基類型error 28: Lower bound greater than upper bound 下界超過(guò)上界error 29: Ordinal type expected 缺有序類型error 30: Integer constant expected 缺整型常量error 31: Constant expected 缺常量error 32: Integer or real constant ex

5、pected 缺整型或?qū)嵭统A縠rror 33: Pointer Type identifier expected 缺指針類型標(biāo)識(shí)符error 34: Invalid function result type 無(wú)效的函數(shù)結(jié)果類型error 35: Label identifier expected 缺標(biāo)號(hào)標(biāo)識(shí)符error 36: BEGIN expected 缺 BEGINerror 37: END expected 缺 ENDerror 38: Integer expression expected 缺整型表達(dá)式error 39: Ordinal expression expected 缺有

6、序類型表達(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未定義的外部過(guò)程與函數(shù)error 47: Invalid o

7、bject file record 無(wú)效的 OBJ 文件格式error 48: Code segment too large 代碼段太長(zhǎng)error 49: Data segment too large 數(shù)據(jù)段太長(zhǎng)error 50: DO expected 缺 DOerror 51: Invalid PUBLIC definition 無(wú)效的 PUBLIC 定義error 52: Invalid EXTRN definition 無(wú)效的 EXTRN 定義error 53: Too many EXTRN definitions 太多的 EXTRN 定義error 54: OF expected 缺

8、 OFerror 55: INTERFACE expected 缺 INTERFACEerror 56: Invalid relocatable reference 無(wú)效的可重定位引用error 57: THEN expected 缺 THENerror 58: TO or DOWNTO expected 缺 TO 或 DOWNTOerror 59: Undefined forward提前引用未經(jīng)定義的說(shuō)明error 61: Invalid typecast 無(wú)效的類型轉(zhuǎn)換error 62: Division by zero 被零除error 63: Invalid file type 無(wú)效的

9、文件類型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

10、 mismatch 單元版本不匹配error 71: Internal stack overflow 內(nèi)部堆棧溢出error 72: Unit file format error 單元文件格式錯(cuò)誤error 73: IMPLEMENTATION expected 缺 IMPLEMENTATIONerror 74: Constant and case types do not match 常量和 CASE 類型不匹配error 75: Record or object variable expected 缺記錄或?qū)ο笞兞縠rror 76: Constant out of range 常量越界er

11、ror 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

12、 argument 無(wú)效的參數(shù)error 84: UNIT expected 缺 UNITerror 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 缺.”er

13、ror 95: . expected 缺.”error 96: Too many variables 變量太多error 97: Invalid FOR control variable 無(wú)效的 FOR 循環(huán)控制變量error 98: Integer variable expected 缺整型變量error 99: Files and procedure types are not allowed here 該處不允許文件和過(guò)程類型error 100: String length mismatch 字符串長(zhǎng)度不匹配error 101: Invalid ordering of fields 無(wú)效

14、域順序error 102: String constant expected 缺字符串常量error 103: Integer or real variable expected 缺整型或?qū)嵭妥兞縠rror 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 o

15、peration 算術(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)用中斷過(guò)程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

16、 該處不允許 INCLUDE 文件error 119: No inherited methods are accessible here 該處繼承方法不可訪問(wèn)error 121: Invalid qualifier 無(wú)效的限定符error 122: Invalid variable reference 無(wú)效的變量引用error 123: Too many symbols 符號(hào)太多error 124: Statement part too large 語(yǔ)句體太長(zhǎng)error 126: Files must be var parameters 文件必須是變量形參error 127: Too many

17、 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 和前面定義的過(guò)程或函數(shù)不匹配error 133: Cannot evaluate this expression 不能計(jì)算該表達(dá)式error

18、 134: Expression incorrectly terminated 表達(dá)式錯(cuò)誤結(jié)束error 135: Invalid format specifier 無(wú)效格式說(shuō)明符error 136: Invalid indirect reference 無(wú)效的間接引用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 不能存

19、取符號(hào)error 140: Invalid floating point operation 無(wú)效的符號(hào)運(yùn)算error 141: Cannot compile overlays to memory 不能編譯覆蓋模塊至內(nèi)存error 142: Pointer or procedural variable expected 缺指針或過(guò)程變量error 143: Invalid procedure or function reference 無(wú)效的過(guò)程或函數(shù)調(diào)用error 144: Cannot overlay this unit 不能覆蓋該單元error 146: File access deni

20、ed 不允許文件訪問(wèn)error 147: Object type expected 缺對(duì)象類型error 148: Local object types are not allowed 不允許局部對(duì)象類型error 149: VIRTUAL expected 缺 VIRTUALerror 150: Method 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:

21、 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)過(guò)程 error 155: Invalid combination of opcode and operands 操作數(shù)與操作符無(wú)效組合 error 156: Memory reference expected 缺內(nèi)存弓丨用指針error 157: Cannot add or subtract relocatable symbols 不能加減可重定位符號(hào)error 158: Inva

22、lid register combination 無(wú)效寄存器組合error 159: 286/287 instructions are not enabled 未激活 286/287 指令error 160: Invalid symbol reference 無(wú)效符號(hào)指針error 161: Code generation error 代碼生成錯(cuò)誤error 162: ASM expected 缺 ASMerror 166: Procedure or function identifier expected 缺過(guò)程或函數(shù)標(biāo)識(shí)符error 167: Cannot export this symb

23、ol 不能輸出該符號(hào)error 168: Duplicate export name 外部文件名重復(fù)error 169: Executable file header too large 可執(zhí)行文件頭太長(zhǎng)error 170: Too many segments 段太多一、運(yùn)行錯(cuò)誤信息運(yùn)行錯(cuò)誤分為四類:1-99為DOS錯(cuò)誤;100-149為I/O錯(cuò)誤,發(fā)生I/O后,如果使用了編譯開關(guān)$1+,程 序?qū)⒔K止執(zhí)行,否則編譯開關(guān)為$I-,程序繼續(xù)執(zhí)行,并由lOResult函數(shù)返回錯(cuò)誤信息;150-199為嚴(yán)重 錯(cuò)誤,200-255為致命錯(cuò)誤,致命錯(cuò)誤將立即終止程序執(zhí)行。錯(cuò)誤代碼及錯(cuò)誤信息錯(cuò)誤釋義erro

24、r 1: Invalid function number 無(wú)效函數(shù)號(hào)error 2: File not found 文件未找到error 3: Path not found 找不到路徑error 4: Too many open files 打開文件太多error 5: File access denied 文件不允許訪問(wèn)error 6: Invalid file handle 無(wú)效文件句柄error 12: Invalid file access code 無(wú)效文件存取代碼error 15: Invalid drive number 無(wú)效驅(qū)動(dòng)器號(hào)error 16: Cannot remove

25、 current directory 不能刪除當(dāng)前目錄error 17: Cannot rename across drives 不能跨驅(qū)動(dòng)器改名error 18: No more files 沒有文件了error 100: Disk read error 讀磁盤錯(cuò)error 101: Disk write error 寫磁盤錯(cuò)error 102: File not assigned 文件變量未賦值error 103: File not open 文件未打開error 104: File not open for input 文件未打開為寫方式error 105: File not open

26、for output 文件未打開為讀方式error 106: Invalid numeric format 無(wú)效數(shù)值格式error 150: Disk is write-protected 磁盤寫保護(hù)error 151: Bad drive request struct length錯(cuò)誤的驅(qū)動(dòng)器請(qǐng)求結(jié)構(gòu)長(zhǎng)度error 152: Drive not ready 驅(qū)動(dòng)器未準(zhǔn)備好error 154: CRC error in data 數(shù)據(jù) CRC 校驗(yàn)錯(cuò)error 156: Disk seek error 磁盤定位錯(cuò)error 157: Unknown media type 未知的介質(zhì)類型erro

27、r 158: Sector Not Found 找不到扇區(qū)error 159: Printer out of paper 打印機(jī)缺紙error 160: Device write fault 設(shè)備寫錯(cuò)誤error 161: Device read fault 設(shè)備讀錯(cuò)誤error 162: Hardware failure 硬件故障error 200: Division by zero 被零除error 201: Range check error 范圍檢查出錯(cuò)error 202: Stack overflow error 棧溢出error 203: Heap overflow error 堆

28、溢出error 204: Invalid pointer operation 無(wú)效的指針操作error 205: Floating point overflow 浮點(diǎn)運(yùn)算上溢error 206: Floating point underflow 浮點(diǎn)運(yùn)算下溢error 207: Invalid floating point operation 無(wú)效的浮點(diǎn)運(yùn)算error 208: Overlay manager not installed 未安裝覆蓋管理程序error 209: Overlay file read error 讀覆蓋文件錯(cuò)誤error 210: Object not initia

29、lized 對(duì)象未初始化error 211: Call to abstract method 調(diào)用抽象方法error 212: Stream registration error 流注冊(cè)錯(cuò)誤error 213: Collection index out of range 集合下標(biāo)越界error 214: Collection overflow error 集合上溢error 215: Arithmetic overflow error 算術(shù)運(yùn)算上溢error 216: General Protection fault 一般保護(hù)性錯(cuò)誤keil c編譯器錯(cuò)誤與解決方法 1. Warning 280

30、:i:unreferenced local variable說(shuō)明局部變量i在函數(shù)中未作任何的存取操作解決方法消除函數(shù)中i變量的宣告Warning 206:Music3:missing function-prototype說(shuō)明Music3()函數(shù)未作宣告或未作外部宣告所以無(wú)法給其他函數(shù)調(diào)用解決方法將敘述void Music3(void)寫在程序的最前端作宣告如果是其他文件的函數(shù)則要寫成 extern void Music3(void),即作外部宣告Compling :C:8051MANN.CError:318:cant open file beep.h說(shuō)明在編譯C:8051MANN.C程序過(guò)程中

31、由于main.c用了指令#i nclude beep.h,但卻找不到所致解決方法編寫一個(gè)beep.h的包含檔并存入到c:8051的工作目錄中Compling:C:8051LED.CError 237:LedOn:function already has a body說(shuō)明LedOn()函數(shù)名稱重復(fù)定義即有兩個(gè)以上一樣的函數(shù)名稱解決方法修正其中的一個(gè)函數(shù)名稱使得函數(shù)名稱都是獨(dú)立的*WARNING 16:UNCALLED SEGMENT,IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?_DELAYX1MS?DELAY說(shuō)明DelayX1ms()函數(shù)未被其它函數(shù)調(diào)用也會(huì)

32、占用程序記憶體空間解決方法去掉DelayX1ms()函數(shù)或利用條件編譯#if.#endif,可保留該函數(shù)并不編譯*WARNING 6 :XDATA SPACE MEMORY OVERLAPFROM : 0025HTO:0025H說(shuō)明外部資料ROM的0025H重復(fù)定義地址解決方法外部資料ROM的定義如下Pdata unsigned char XFR_ADC _at_0 x25其中XFR_ADC變量的名稱為0 x25,請(qǐng)檢查是否有其它的變量名稱也是定義在0 x25處并修正它WARNING 206:DelayX1ms: missing function-prototypeC:8051INPUT.CE

33、rror 267 :,DelayXIms :requires ANSI-style prototype C:8051INPUT.C說(shuō)明程序中有調(diào)用DelayX1ms函數(shù)但該函數(shù)沒定義即未編寫程序內(nèi)容或函數(shù)已定義但未作宣告解決方法編寫DelayX1ms的內(nèi)容編寫完后也要作宣告或作外部宣告可在delay.h的包含檔 宣告成外部以便其它函數(shù)調(diào)用*WARNING 1:UNRESOLVED EXTERNAL SYMBOLSYMBOL:MUSIC3MODULE:C:8051MUSIC.OBJ(MUSIC)*WARNING 2:REFERENCE MADE TO UNRESOLVED EXTERNALSYM

34、BOL:MUSIC3MODULE:C:8051MUSIC.OBJ(MUSIC)ADDRESS:0018H說(shuō)明程序中有調(diào)用MUSIC函數(shù)但未將該函數(shù)的含擴(kuò)檔C加入到工程檔Prj作編譯和連接 解決方法設(shè)MUSIC3函數(shù)在MUSIC C里將MUSIC C添加到工程文件中去*ERROR 107:ADDESS SPACE OVERFLOWSPACE: DATASEGMENT: _DATA_GOUP_LENGTH: 0018H*ERROR 118: REFERENCE MADE TO ERRONEOUS EXTERNALSYMBOL: VOLUMEMODULE: C:8051OSDM.OBJ (OSDM)

35、ADDRESS: 4036H說(shuō)明data存儲(chǔ)空間的地址范圍為00 x7f,當(dāng)公用變量數(shù)目和函數(shù)里的局部變量如果存 儲(chǔ)模式設(shè)為SMALL則局部變量先使用工作寄存器R2R7作暫存當(dāng)存儲(chǔ)器不夠用時(shí)則會(huì) 以data型別的空間作暫存的個(gè)數(shù)超過(guò)0 x7f時(shí)就會(huì)出現(xiàn)地址不夠的現(xiàn)象 解決方法將以data型別定義的公共變量修改為idata型別的定義*WARNING L15: MULTIPLE CALL TO SEGMENTSEGMENT: ?PR?_WRITE_GMVLX1_REG?D_GMVLX1CALLER1: ?PR?VSYNC_INTERRUPT?MAINCALLER2: ?C_C51STARTUP*W

36、ARNING L15: MULTIPLE CALL TO SEGMENTSEGMENT: ?PR?_SPI_SEND_WORD?D_SPICALLER1: ?PR?VSYNC_INTERRUPT?MAINCALLER2: ?C_C51STARTUP*WARNING L15: MULTIPLE CALL TO SEGMENTSEGMENT: ?PR?SPI_RECEIVE_WORD?D_SPICALLER1: ?PR?VSYNC_INTERRUPT?MAINCALLER2: ?C_C51STARTUP該警告表示連接器發(fā)現(xiàn)有一個(gè)函數(shù)可能會(huì)被主函數(shù)和一個(gè)中斷服務(wù)程序(或者調(diào)用中斷 服務(wù)程序的函數(shù))同

37、時(shí)調(diào)用,或者同時(shí)被多個(gè)中斷服務(wù)程序調(diào)用。出現(xiàn)這種問(wèn)題的原因之一是這個(gè)函數(shù)是不可重入性函數(shù),當(dāng)該函數(shù)運(yùn)行時(shí)它可能會(huì)被一 個(gè)中斷打斷,從而使得結(jié)果發(fā)生變化并可能會(huì)引起一些變量形式的沖突(即引起函數(shù)內(nèi)一些數(shù)據(jù)的丟失,可重入性函數(shù)在任何時(shí) 候都可以被ISR打斷,一段時(shí)間后又可以運(yùn)行,但是相應(yīng)數(shù)據(jù)不會(huì)丟失)。原因之二是用于局部變量和變量(暫且這樣翻譯arguments,自變量,變?cè)粩?shù)值,用于 確定程序或子程序的值)的內(nèi)存區(qū)被其他函數(shù)的內(nèi)存區(qū)所覆蓋,如果該函數(shù)被中斷,則它的 內(nèi)存區(qū)就會(huì)被使用,這將導(dǎo)致其他函數(shù)的內(nèi)存沖突。例如,第一個(gè)警告中函數(shù)WRITE_GMVLX1_REG在D_GMVLX1.C或者D_

38、GMVLX1.A51被定義,它被一個(gè)中斷服務(wù)程序或者一個(gè)調(diào)用了中斷服務(wù)程序的函數(shù)調(diào)用了,調(diào)用它的函數(shù)是VSYNC_INTERRUPT,在MAIN.C中。解決方法:如果你確定兩個(gè)函數(shù)決不會(huì)在同一時(shí)間執(zhí)行(該函數(shù)被主程序調(diào)用并且中斷被禁止),并 且該函數(shù)不占用內(nèi)存(假設(shè)只使用寄存器),則你可以完全忽略這種警告。如果該函數(shù)占用了內(nèi)存,則應(yīng)該使用連接器(linker)OVERLAY指令將函數(shù)從覆蓋分析(overlay analysis)中除去,例如:OVERLAY (?PR?_WRITE_GMVLX1_REG?D_GMVLX1 ! *)上面的指令防止了該函數(shù)使用的內(nèi)存區(qū)被其他函數(shù)覆蓋。如果該函數(shù)中調(diào)用

39、了其他函數(shù),而這些被調(diào)用在程序中其他地方也被調(diào)用,你可能會(huì)需要也將這些函數(shù)排除在覆蓋分析(overlay analysis)之外。這種OVERLAY指令能使編譯器除去上述警告信息。如果函數(shù)可以在其執(zhí)行時(shí)被調(diào)用,則情況會(huì)變得更復(fù)雜一些。這時(shí)可以采用以下幾種方法:主程序調(diào)用該函數(shù)時(shí)禁止中斷,可以在該函數(shù)被調(diào)用時(shí)用#pragma disable語(yǔ)句來(lái)實(shí)現(xiàn)禁 止中斷的目的。必須使用OVERLAY指令將該函數(shù)從覆蓋分析中除去。2復(fù)制兩份該函數(shù)的代碼,一份到主程序中,另一份復(fù)制到中斷服務(wù)程序中。3將該函數(shù)設(shè)為重入型。例如:void myfunc(void) reentrant 這種設(shè)置將會(huì)產(chǎn)生一個(gè)可重入堆

40、棧,該堆棧被被用于存儲(chǔ)函數(shù)值和局部變量,用這種方法時(shí)重入堆棧必須在STARTUP.A51文件中配置。這種方法消耗更多的RAM并會(huì)降低重入函數(shù)的執(zhí)行速度。* WARNING L16: UNCALLED SEGMENT,IGNORED FOR OVERLAY PROCESSSEGMENT: ?PR?_COMPARE?TESTLCD說(shuō)明:程序中有些函數(shù)(或片段)以前(調(diào)試過(guò)程中)從未被調(diào)用過(guò),或者根本沒有調(diào)用它的語(yǔ)句。這條警告信息前應(yīng)該還有一條信息指示出是哪個(gè)函數(shù)導(dǎo)致了這一問(wèn)題。只要做點(diǎn)簡(jiǎn) 單的調(diào)整就可以。不理它也沒什么大不了的。解決方法:去掉COMPARE()函數(shù)或利用條件編譯#if .#endi

41、可保留該函數(shù)并不 編譯。C編譯器錯(cuò)誤信息中文翻譯Ambiguous operators need parentheses不明確的運(yùn)算需要用括號(hào)括起Ambiguous symbol、xxx 不明確的符號(hào)Argument list syntax error 參數(shù)表語(yǔ)法錯(cuò)誤Array bounds missing丟失數(shù)組界限符Array size toolarge數(shù)組尺寸太大Bad character in paramenters 參數(shù)中有不適當(dāng)?shù)淖址鸅ad file name format in include directive包含命令中文件名格式不正確Bad ifdef directive s

42、ynatax 編譯預(yù)處理 ifdef 有語(yǔ)法錯(cuò)Bad undef directive syntax 編譯預(yù)處理 undef 有語(yǔ)法錯(cuò)Bit field too large 位字段太長(zhǎng)Call of non-function調(diào)用未定義的函數(shù)Call to function with no prototype調(diào)用函數(shù)時(shí)沒有函數(shù)的說(shuō)明Cannot modify a const object不允許修改常量對(duì)象Case outside of switch 漏掉了 case 語(yǔ)句Case syntax error Case 語(yǔ)法錯(cuò)誤Code has no effect代碼不可述不可能執(zhí)行到Compound

43、 statement missing分程序漏掉Conflicting type modifiers不明確的類型說(shuō)明符Constant expression required 要求常量表達(dá)式Constant out of range in comparison 在比較中常量超出范圍 Conversion may lose significant digits 轉(zhuǎn)換時(shí)會(huì)丟失意義的數(shù)字 Conversion of near pointer not allowed 不允許轉(zhuǎn)換近指針 Could not find file、xxx 找不到 XXX 文件Declaration missing ;說(shuō)明缺少;

44、Declaration syntax error說(shuō)明中出現(xiàn)語(yǔ)法錯(cuò)誤Default outside of switch Default 出現(xiàn)在 switch 語(yǔ)句之外Define directive needs an identifier定義編譯預(yù)處理需要標(biāo)識(shí)符 Division by zero用零作除數(shù)Do statement must have while Do-while 語(yǔ)句中缺少 while 部分Enum syntax error枚舉類型語(yǔ)法錯(cuò)誤Enumeration constant syntax error 枚舉常數(shù)語(yǔ)法錯(cuò)誤Error directive :xxx錯(cuò)誤的編譯預(yù)處理命

45、令Error writing output file 寫輸出文件錯(cuò)誤Expression syntax error表達(dá)式語(yǔ)法錯(cuò)誤Extra parameter in call調(diào)用時(shí)出現(xiàn)多余錯(cuò)誤File name too long文件名太長(zhǎng)Function call missing )函數(shù)調(diào)用缺少右括號(hào)Fuction definition out of place 函數(shù)定義位置錯(cuò)誤Fuction should return a value 函數(shù)必需返回一個(gè)值Goto statement missing label Goto 語(yǔ)句沒有標(biāo)號(hào)Hexadecimal or octal constant

46、too large16 進(jìn)制或 8 進(jìn)制常數(shù)太大 Illegal character x 非法字符 xIllegal initialization 非法的初始化III egal octal digit非法的8進(jìn)制數(shù)字Illegal pointer subtraction 非法的指針相減Ill egal structure operation 非法的結(jié)構(gòu)體操作Illegal use of floating point 非法的浮點(diǎn)運(yùn)算Illegal use of pointer 指針使用非法Improper use of a typedefsymbol類型定義符號(hào)使用不恰當(dāng)In-line asse

47、mbly not allowed不允許使用行間匯編Incompatible storage class 存儲(chǔ)類別不相容Incompatible type conversion 不相容的類型轉(zhuǎn)換Incorrect number format錯(cuò)誤的數(shù)據(jù)格式Incorrect use of default Default 使用不當(dāng)Invalid indirection無(wú)效的間接運(yùn)算Invalid pointer addition 指針相加無(wú)效Irreducible expression tree無(wú)法執(zhí)行的表達(dá)式運(yùn)算Lvalue required需要邏輯值0或非0值Macro argument syn

48、tax error 宏參數(shù)語(yǔ)法錯(cuò)誤Macro expansion too long宏的擴(kuò)展以后太長(zhǎng)Mismatched number of parameters in definition 定義中參數(shù)個(gè)數(shù)不匹配Misplaced break此處不應(yīng)出現(xiàn)break語(yǔ)句Misplaced continue 此處不應(yīng)出現(xiàn) continue 語(yǔ)句Misplaced decimal point此處不應(yīng)出現(xiàn)小數(shù)點(diǎn)Misplaced elif directive此處不應(yīng)出現(xiàn)編譯預(yù)處理elifMisplaced else此處不應(yīng)出現(xiàn)elseMisplaced else directive此處不應(yīng)出現(xiàn)編譯預(yù)處理

49、elseMisplaced endif directive此處不應(yīng)出現(xiàn)編譯預(yù)處理endifMust be addressable必須是可以編址的Must take address of memory location 必須存儲(chǔ)定位的地址No declaration for function、xxx 沒有函數(shù) xxx 的說(shuō)明No stack缺少堆棧No type information沒有類型信息Non-portable pointer assignment不可移動(dòng)的指針(地址常數(shù))賦值 Non-portable pointer comparison不可移動(dòng)的指針(地址常數(shù))比較 Non-por

50、table pointer conversion不可移動(dòng)的指針(地址常數(shù))轉(zhuǎn)換 Not a valid expression format type 不合法的表達(dá)式格式Not an allowed type不允許使用的類型Numeric constant too large 數(shù)值常太大Out of memory內(nèi)存不夠用Parameter xxx is never used 參數(shù) xxx 沒有用至卩Pointer required on left side of - 符號(hào)-的左邊必須是指針Possible use of xxx before definition 在定義之前就使用了 xxx (警告)Possibly incorrect assignment 賦值可能不正確Redeclaration of xxx 重復(fù)定義了 xxxRedefinition of xxx is not identical xxx 的兩次定義不一致Register allocati

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論