c語言程序調(diào)試中錯誤或警告提示的中文對照_第1頁
c語言程序調(diào)試中錯誤或警告提示的中文對照_第2頁
c語言程序調(diào)試中錯誤或警告提示的中文對照_第3頁
c語言程序調(diào)試中錯誤或警告提示的中文對照_第4頁
c語言程序調(diào)試中錯誤或警告提示的中文對照_第5頁
已閱讀5頁,還剩6頁未讀, 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

1、C 語言錯誤提示Ambiguous operators need parentheses -不明確的 運算需要用括號括起Ambiguous symbol ''xxx'' -不明確的符 號Argument list syntax error -參數(shù)表語 法錯誤Array bounds missing -丟失數(shù)組界限 符Array size toolarge -數(shù)組尺寸太大 Bad character in paramenters -參數(shù) 中有不適當?shù)淖址鸅ad file name format in include directive -包含命令中文件名格式不正確

2、Bad ifdef directive synatax -編譯預(yù) 處理 ifdef 有語法錯Bad undef directive syntax -編譯預(yù) 處理 undef 有語法錯Bit field too large -位字段太長Call of non-function -調(diào)用未定義的函 數(shù)Call to function with no prototype -調(diào)用函數(shù)時沒有函數(shù)的說明Cannot modify a const object -不允許修 改常量對象Case outside of switch -漏掉了 case 語 句Case syntax error - Case 語法錯

3、誤 Code has no effect -代碼不可述不可能 執(zhí)行到Compound statement missing -分程 序漏掉 ""Conflicting type modifiers -不明確 的類型說明符Constant expression required -要求常 量表達式Constant out of range in comparison -在 比較中常量超出范圍Conversion may lose significant digits -轉(zhuǎn)換 時會丟失意義的數(shù)字Conversion of near pointer not allowed -不允許

4、轉(zhuǎn)換近指針Could not find file ''xxx'' -找不到 XXX 文件Declaration missing ; -說明缺少 " ; " Declaration syntax error -說明中出現(xiàn) 語法錯誤Default outside of switch - Default 出 現(xiàn)在 switch 語句之外Define directive needs an identifier -定義編 譯預(yù)處理需要標識符Division by zero -用零作除數(shù)Do statement must have while - Do-

5、while語 句中缺少 while 部分Enum syntax error -枚舉類型語法 錯誤Enumeration constant syntax error -枚舉常數(shù)語法錯誤Error directive :xxx -錯誤的 編譯預(yù)處理命令Error writing output file -寫輸 出文件錯誤Expression syntax error -表達 式語法錯誤Extra parameter in call -調(diào)用 時出現(xiàn)多余錯誤File name too long -文件名太長Function call missing -函數(shù)調(diào)用缺少 右括號Fuction definit

6、ion out of place -函 數(shù)定義位置錯誤Fuction should return a value -函數(shù) 必需返回一個值Goto statement missing label - Goto語句沒有標號Hexadecimal or octal constant too large -16進 制或 8進制常數(shù)太大Illegal character ''x'' -非法字符 x Illegal initialization -非法的初始 化Illegal octal digit -非法的 8進制數(shù) 字Illegal pointer subtractio

7、n -非法的 指針相減Illegal structure operation -非法的 結(jié)構(gòu)體操作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 -不 相容的類型轉(zhuǎn)換Incorrect number form

8、at -錯誤 的數(shù)據(jù)格式Incorrect use of default - Default 使用不當Invalid indirection -無效的間接 運算Invalid pointer addition -指針相加 無效Irreducible expression tree -無 法執(zhí)行的表達式運算Lvalue required -需要邏輯 值 0或非 0值Macro argument syntax error -宏參 數(shù)語法錯誤Macro expansion too long -宏的 擴展以后太長Mismatched number of parameters in definition

9、 -定 義中參數(shù)個數(shù)不匹配Misplaced break -此處不應(yīng)出現(xiàn) break 語句Misplaced continue -此處不應(yīng) 出現(xiàn) continue 語句Misplaced decimal point -此處不應(yīng) 出現(xiàn)小數(shù)點Misplaced elif directive -不應(yīng)編 譯預(yù)處理 elifMisplaced else -此處不應(yīng)出現(xiàn) elseMisplaced else directive -此處不應(yīng) 出現(xiàn)編譯預(yù)處理 elseMisplaced endif directive -此處不應(yīng) 出現(xiàn)編譯預(yù)處理 endifMust be addressable -必須是可以

10、編址的Must take address of memory location -必須存儲定位的地址No declaration for function ''xxx'' -沒有函數(shù) xxx 的說明No stack -缺少堆棧No type information -沒有類型信息 Non-portable pointer assignment -不可移動的指 針(地址常數(shù)賦值Non-portable pointer comparison -不可移動的指 針(地址常數(shù)比較Non-portable pointer conversion -不可移動的指 針(地址常數(shù)轉(zhuǎn)

11、換Not a valid expression format type -不合法的表達式格式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 -> -符號->的左邊必須是指針Possible use of ''xxx'' before defini

12、tion -在定義之前就使用了 xxx (警告Possibly incorrect assignment -賦值可 能不正確Redeclaration of ''xxx'' -重復(fù)定義 了 xxxRedefinition of ''xxx'' is not identical - xxx的兩次定義不一致Register allocation failure -寄存器 定址失敗Repeat count needs an lvalue -重復(fù) 計數(shù)需要邏輯值Size of structure or array not known -結(jié)

13、構(gòu) 體或數(shù)給大小不確定Statement missing ; -語句后缺少 " ; " Structure or union syntax error -結(jié)構(gòu)體 或聯(lián)合體語法錯誤Structure size too large -結(jié)構(gòu)體尺寸 太大Sub scripting missing -下標缺少右方 括號Superfluous & with function or array -函數(shù) 或數(shù)組中有多余的 "&"Suspicious pointer conversion -可疑的指針轉(zhuǎn)換Symbol limit exceeded -符號超

14、限Too few parameters in call -函數(shù)調(diào)用時的實 參少于函數(shù)的參數(shù)不Too many default cases - Default太多 (switch語句中一個 Too many error or warning messages -錯誤或警告信息太多Too many type in declaration -說明中 類型太多Too much auto memory in function -函數(shù) 用到的局部存儲太多Too much global data defined in file -文件中全局數(shù)據(jù)太多Two consecutive dots -兩個連續(xù)的句點

15、Type mismatch in parameter xxx -參數(shù) 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''

16、-無 法打開輸入文件 xxxUndefined label ''xxx'' -沒有定義 的標號 xxxUndefined structure ''xxx'' -沒有定 義的結(jié)構(gòu) xxxUndefined symbol ''xxx'' -沒有定義的 符號 xxxUnexpected end of file in comment started on line xxx:從 xxx 行開始的注解尚未結(jié)束文件不能結(jié)束Unexpected end of file in conditional started

17、on line xxx :從 xxx 開始的條件語句尚未結(jié)束文件不能結(jié)束 Unknown assemble instruction -未知的 匯編結(jié)構(gòu)Unknown option -未知的操作Unknown preprocessor directive: ''xxx'' -不 認識的預(yù)處理命令 xxxUnreachable code -無路可達的代碼Unterminated string or character constant-字符串缺少引號User break -用戶強行中斷了程序Void functions may not return a value

18、- Void類型 的函數(shù)不應(yīng)有返回值Wrong number of arguments -調(diào)用函數(shù) 的參數(shù)數(shù)目錯''xxx'' not an argument - xxx不是參 數(shù)''xxx'' not part of structure - xxx不是結(jié)構(gòu)體的一部分xxx statement missing ( - xxx語句 缺少左括號xxx statement missing - xxx語句缺 少右括號xxx statement missing ; - xxx缺少 分號xxx'' declared but n

19、ever used -說 明了 xxx 但沒有使用xxx'' is assigned a value which is never used -給 xxx 賦了值但未用過Zero length structure -結(jié)構(gòu)體的長度為零警告類錯誤1XXXdeclare but never used變量 XXX 已定義但 從未用過。2XXXis assigned a value which is never used變 量 XXX 已賦值但從未用過。3 Code has no effect 程序中含有沒有實際作用的代 碼。4 Non-portable pointer conversi

20、on 不適當?shù)闹羔樲D(zhuǎn) 換,可能是在應(yīng)該使用指針的地方用了一個非 0的數(shù)值。 5 Possible use of XXXbefore definition表達 式中使用了未賦值的變量6 Redeclaration of main 一個程序文件中主函 數(shù) main 不止一個。7 Suspicious pointer conversion 可疑的指針轉(zhuǎn)換。 通常是使用了基本類型不匹配的指針。8 Unreachable code 程序含有不能執(zhí)行到的代碼。 錯誤或致命錯誤9 Compound statement missing in function main 程 序結(jié)尾缺少括號 。10 “”expe

21、cted;“(”expected 等 復(fù)合語句或數(shù)組 初始化的結(jié)尾缺少“”;“(”。12 Case outside of switch case 不屬于 Switch 結(jié)構(gòu), 多由于 switch 結(jié)構(gòu)中的花括號不配對所致。13 Case statement missing : switch結(jié)構(gòu)中的某 個 case 之后缺少冒號。14 Constant expression required 定義數(shù)組時指定的 數(shù)組長度不是常量表達式。15 Declaration syntax error 結(jié)構(gòu)體或聯(lián)合類型的定義 后缺少分號。16 Declaration was expected 缺少說明,通常

22、是因為 缺少分界符如逗號、分號、右圓 括號等所引起的。 17 Default outside switch Default部分放到了 switch 結(jié)構(gòu)之外,一般是因為花括號不匹配而引起的。18 do statement must have while do語句中缺少相 應(yīng)的 while 部分。19 Expression syntax 表達式語法錯。如表達式中含有 兩個連續(xù)的運算符20 Extra parameter in call fun 調(diào)用函數(shù) fun 時 給出了多余的實參。21 Function should return a value 函數(shù)應(yīng)該返回一 個值,否則與定義時的說明類型不

23、匹配。22 Illegal use of pointer 指針被非法引用,一般是使用了非法的指針運算。23 Invalid pointer addition 指針相加非法。一個指 針(地址可以和一個整數(shù)相加,但兩個指針不能相加。 24 Lvalue required 賦值運算的左邊是不能尋址的表 達式。25 Misplaced else 程序遇到了沒有配對的 else 26 No matching 表達式中的括號不配對。27 Pointer required on left side of_> 在“_>”運 算的左邊只能允許一個指針而不能是一個一般的結(jié)構(gòu)體變 量或聯(lián)合類型的變量。2

24、8 Statement missing; 程序遇到了后面沒有分號的語 句。29 Too few parameters in call 調(diào)用某個函數(shù)時實參 數(shù)目不夠。30 Unable to open include file XXXXXXXX.XXX 頭 文件找不到。31 Unexpected 或 :或 在不希望的地方使用了 或:。 32 Undefined symbol Xin function fun 函數(shù) fun 中 的變量 X 沒有定義。連接中的常見錯誤主要錯誤類似于“undefined symbol _print in modula xxx”(print沒有定義 ,通常是函數(shù)名書寫錯

25、誤。運行中的常見錯誤Abnormal program termination 程序異常終止。通常是 由于內(nèi)存使用不當所致。Floating point error : Domain 或 Divide by 0 運算結(jié) 果不是一個數(shù)或被 0 除Null pointer assignment 對未初始化的指針賦值,程 序有嚴重錯誤。User break 在運行程序時終止。1."c" not an argument in function sum 該標識符不是函 數(shù)的參數(shù)2.array bounds missing in function main 缺少數(shù)組界 限符 ""3.Array size too large in function main 數(shù)組規(guī)模太大4.bad file name format in include directive 在包含指 令中的文件名格式不正確 .5.Call of non-function in function main 調(diào)用未經(jīng)過定 義的函數(shù) .6.cannot modify a const object in function main 對常 量不能

溫馨提示

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

評論

0/150

提交評論