1. 程式人生 > >c++錯誤中英文對照

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 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 ; ----------------說明缺少";" houjiuming

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'' ------------------非法字元x

Illegal initialization ------------------非法的初始化

Illegal octal digit ------------------非法的8進位制數字 houjiuming

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 ----------------------此處不應出現else houjiuming

Misplaced 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 -------------------記憶體不夠用 houjiuming

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 -----------------說明中型別太多 houjiuming

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 ----------------未知的彙編結構 houjiuming

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 of structure -------------------- xxx不是結構體的一部分

xxx statement missing ( -------------------- xxx語句缺少左括號

xxx statement missing ) ------------------ xxx語句缺少右括號

xxx statement missing ; -------------------- xxx缺少分號 houjiuming

xxx'' declared but never used -------------------說明了xxx但沒有使用

xxx'' is assigned a value which is never used ----------------------給xxx賦了值但未用過

Zero length structure ------------------結構體的長度為零