版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、常見錯(cuò)誤提示信息對(duì)照表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 too large 數(shù)組尺寸太大Bad character in parameters 參數(shù)中有不適當(dāng)?shù)淖址鸅ad file name format in include directive 包含命令中文件名格式不正確Bad ifdef directive syntax
2、編譯預(yù)處理 ifdef 有語(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 statement missing 分程序漏掉“ ” Conflicting type
3、 modifiers 不明確的類型說(shuō)明Constant expression required 要求常量表達(dá)式Constant out of range in comparison 在比較中常量超出范圍Conversion may lose significant digits轉(zhuǎn)換時(shí)會(huì)丟失意義的數(shù)字a”xxx ”Conversion of near pointer not allowed 不允許轉(zhuǎn)換近指針Could not find file 找不到 XXX 文件Declaration missing; 說(shuō)明缺少“; ” Declaration syntax error 說(shuō)明中出現(xiàn)語(yǔ)法錯(cuò)誤De
4、fault outside of switchDefault 出現(xiàn)在 switch 語(yǔ)句之外 Define directive needs an identifier 定義編譯預(yù)處理需要標(biāo)識(shí)符Division by zero 用零作除數(shù)Do statement must have whiles Do-while 語(yǔ)句缺少 while 部分 Enum syntax error 枚舉類型語(yǔ)法錯(cuò)誤Enumeration constant syntax error 枚舉常數(shù)語(yǔ)法錯(cuò)誤Error directive :xxx 錯(cuò)誤的編譯預(yù)處理命令Error writing output file 寫輸出文
5、件錯(cuò)誤Expression syntax error 表達(dá)式語(yǔ)法錯(cuò)誤 File name too long 文件名太長(zhǎng)Function call missing 函數(shù)調(diào)用缺少右括號(hào)Function definition out of place 函數(shù)定義位置錯(cuò)誤Function should return a value 函數(shù)必須返回一個(gè)值Goto statement missing labelGoto 語(yǔ)句沒有標(biāo)號(hào)Hexadecimal octal constant too large16 進(jìn)制或 8 進(jìn)制常數(shù)太大Illegal character“ X”非法字符 XIllegal octa
6、l digit 非法的 8 進(jìn)制數(shù)字Illegal pointer subtraction非法的指針相減Illegal structure operation 非法的結(jié)構(gòu)體操作Illegal use of floating point 非法的浮點(diǎn)運(yùn)算Illegal use of pointer 指針使用非法Improper use of a typedef symbol 類型定義符號(hào)使用不恰當(dāng)In-line assembly not allowed 不允許使用行間匯編Incompatible storage class 存儲(chǔ)類別不相容Incompatible type conversion 不
7、相容的類型轉(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 Syntax error 宏參數(shù)語(yǔ)法錯(cuò)誤Macro expansion too long 宏的擴(kuò)展以后太長(zhǎng)Mismatched number of paramete
8、rs 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)編譯預(yù)處理 elifMisplaced else 此處不應(yīng)出現(xiàn) elseMisplaced else directive此處不應(yīng)出現(xiàn)編譯預(yù)處理elseendifMisplaced endif directive 此處不應(yīng)出現(xiàn)編譯預(yù)處理Must be addressable 必須是可以編址的
9、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-portable pointer conversion 不可移動(dòng)的指針(地址常數(shù))轉(zhuǎn)換 Not a valid expression forma
10、t 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ù)定義了
11、 xxxRedefinition of xxx is not identical xxx 的兩次定義不一致Register allocation failure 寄存器定址失敗Repeat count needs an lvalue 重復(fù)計(jì)數(shù)需要邏輯值Size of structure or array not known結(jié)構(gòu)體或數(shù)給大小不確定 Statement missing ; 語(yǔ)句后缺少 ;Structure or union syntax error 結(jié)構(gòu)體或聯(lián)合體語(yǔ)法錯(cuò)誤Structure size too large 結(jié)構(gòu)體尺寸太大Sub scripting missing 下標(biāo)
12、缺少右方括號(hào)Superfluous & with function or array 函數(shù)或數(shù)組中有多余的 &Suspicious pointer conversion 可疑的指針轉(zhuǎn)換Symbol limit exceeded 符號(hào)超限Too few parameters in call 函數(shù)調(diào)用時(shí)的實(shí)參少于函數(shù)的參數(shù)不 Too many default casesDefault 太多 (switch 語(yǔ)句中一個(gè) ) Too many error or warning messages 錯(cuò)誤或警告信息太多Too many type in declaration 說(shuō)明中類型太多Too much
13、auto memory in function 函數(shù)用到的局部存儲(chǔ)太多Too much global data defined in file 文件中全局?jǐn)?shù)據(jù)太多Two consecutive dots 兩個(gè)連續(xù)的句點(diǎn)Type mismatch in parameter xxx 參數(shù) xxx 類型不匹配Type mismatch in redeclaration of xxx xxx 重定義的類型不匹配Unable to create output file xxx 無(wú)法建立輸出文件 xxxUnable to open include file xxx 無(wú)法打開被包含的文件 xxxUnable
14、 to open input file xxx 無(wú)法打開輸入文件 xxxUndefined label xxx 沒有定義的標(biāo)號(hào) xxx Undefined structure xxx 沒有定義的結(jié)構(gòu) xxxUndefined symbol xxx沒有定義的符號(hào) xxxUnexpected end of file in comment started on line xxx 從 xxx 行開始的注解尚未結(jié)束文件不能結(jié)束Unexpected end of file in conditional started on line xxx 從 xxx 開始的條件語(yǔ)句尚未結(jié)束文件不能結(jié)束Unknown a
15、ssemble instruction 未知的匯編結(jié)構(gòu)Unknown option 未知的操作Unknown preprocessor directive: xxx 不認(rèn)識(shí)的預(yù)處理命令 xxxUnreachable code 無(wú)路可達(dá)的代碼Unterminated string or character constant 字符串缺少引號(hào)User break 用戶強(qiáng)行中斷了程序Void functions may not return a value Void 類型的函數(shù)不應(yīng)有返回值 Wrong number of arguments 調(diào)用函數(shù)的參數(shù)數(shù)目錯(cuò) xxx not an argumentxxx 不是參數(shù)xxx not part of structure xxx 不是結(jié)構(gòu)
溫馨提示
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度某公司電子商務(wù)事業(yè)部跨境電商營(yíng)銷推廣合作協(xié)議2篇
- 2025版融創(chuàng)集團(tuán)房地產(chǎn)合同檔案安全保護(hù)與保密要求3篇
- 二零二五年度外匯期貨居間經(jīng)紀(jì)業(yè)務(wù)合同修訂版4篇
- 2025版全新煤炭居間合作協(xié)議范本下載6篇
- 個(gè)性化勞動(dòng)協(xié)議模板2024年版參考版B版
- 個(gè)性化咨詢顧問(wèn)服務(wù)協(xié)議精簡(jiǎn)版版
- 2025年配電工程進(jìn)度款支付合同
- 2025年度新材料研發(fā)與產(chǎn)業(yè)化合作協(xié)議
- 二零二五年度內(nèi)退員工離職補(bǔ)償及經(jīng)濟(jì)補(bǔ)償合同
- 二零二五年度品牌策劃與品牌維權(quán)服務(wù)合同2篇
- 2024年上海市第二十七屆初中物理競(jìng)賽初賽試題及答案
- 信息技術(shù)部年終述職報(bào)告總結(jié)
- 高考滿分作文常見結(jié)構(gòu)完全解讀
- 理光投影機(jī)pj k360功能介紹
- 六年級(jí)數(shù)學(xué)上冊(cè)100道口算題(全冊(cè)完整版)
- 八年級(jí)數(shù)學(xué)下冊(cè)《第十九章 一次函數(shù)》單元檢測(cè)卷帶答案-人教版
- 帕薩特B5維修手冊(cè)及帕薩特B5全車電路圖
- 系統(tǒng)解剖學(xué)考試重點(diǎn)筆記
- 小學(xué)五年級(jí)解方程應(yīng)用題6
- 年月江西省南昌市某綜合樓工程造價(jià)指標(biāo)及
- 作物栽培學(xué)課件棉花
評(píng)論
0/150
提交評(píng)論