久久久久久久999_99精品久久精品一区二区爱城_成人欧美一区二区三区在线播放_国产精品日本一区二区不卡视频_国产午夜视频_欧美精品在线观看免费

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 5210|回復: 6
打印 上一主題 下一主題
收起左側

keil編譯中所有編譯的錯誤信息

  [復制鏈接]
跳轉到指定樓層
樓主
ID:829814 發表于 2020-10-14 18:00 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式

1."c" not an argument in function sum 該標識符不是函數的參數  
2.array bounds missing ] in function main 缺少數組界限符 "]"  
3.Array size too large in function main 數組規模太大  
4.bad file name format in include directive 在包含指令中的文件名格式不正確.  
5.Call of non-function in function main 調用未經過定義的函數.  
6.cannot modify a const object in function main 對常量不能進行修改.  
7.character constant too long in function main 字符常量太大  
8.constant expression required in funtion main 數組定義的時候,數組大小要求是常數  
9.compound statment missing } in function main 復合語句漏掉符號 "{"  
10.declaration syntax error in function main 宣告語法錯誤  
11.expression syntax in function main 表達式語法錯誤  
12. extra parameter in call to sum in function 調用函數時使用了過多的參數  
13.illegal use of floating point in function main 浮點數的不合法使用  
14.illegal pionter subtraction in function main 不合法的指針相減  
15.invalid pointer addition in function main 無效的指針相加  
16.out of memory in function main 內存不足  
17.statement missing ; in function main 語句后面漏掉分號.  
警告報錯  
1."k" is assigned a value which is never used 定義了一個變量,但程序從來沒用過  
2.possibiy incorrect assignment in function main 這樣的賦值可能不正確  
3. suspicious pointer conversion in function main 可疑的指針轉換  
4.code has no effect in funtion main 代碼對程序沒效果  
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 ; :說明缺少";"  


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進制數字  
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  
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 內存不夠用  
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 xx的兩次定義不一致  
Register allocation failure 寄存器定址失敗  
Repeat count needs an lvalue 重復計數需要邏輯值  
Size of structure or array not known 結構體或數給大小不確定  
Statement missing ; 語句后缺少";"  
Structure or union syntax error X構體或聯合體語法錯誤  
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 說明中類型太多  
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' xx重定義的類型不匹配  
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 未知的匯編結構  
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 ( xx語句缺少左括號  
xxx statement missing ) xxx語句缺少右括號  
xxx statement missing ; xxx缺少分號  
xxx' declared but never used 說明了xxx但沒有使用  
xxx' is assigned a value which is never used 給xxx賦了值但未用過  

評分

參與人數 1黑幣 +50 收起 理由
admin + 50 共享資料的黑幣獎勵!

查看全部評分

分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏8 分享淘帖 頂1 踩
回復

使用道具 舉報

沙發
ID:592807 發表于 2020-10-15 08:34 | 只看該作者
keil編程如果出錯,一般從第一個錯誤開始,從上往下,每解決一個錯誤編譯一次。
1、這樣做能能加快效率。因為很多錯誤是因為第一個錯誤而引發下面一連串錯誤。例如“int main(){”這里少一個大括號,編譯后會顯示好幾個錯誤,其實就只有一個錯誤。
2、減少排查難度。改錯過程中可能引進更多的錯誤,每改一次錯誤。編譯一次,如果發現錯誤數量增多,可以及時撤回。

另外貼主這個“所有的編譯錯誤信息”,有點夸大,里面很多是警告信息,不是錯誤信息,而且我見過一些不在你貼里面的錯誤編譯信息。

評分

參與人數 1黑幣 +20 收起 理由
admin + 20 回帖助人的獎勵!

查看全部評分

回復

使用道具 舉報

板凳
ID:624444 發表于 2020-10-16 16:59 | 只看該作者
黃youhui 發表于 2020-10-15 08:34
keil編程如果出錯,一般從第一個錯誤開始,從上往下,每解決一個錯誤編譯一次。
1、這樣做能能加快效率。 ...

簡單明了,學習了
回復

使用道具 舉報

地板
ID:414556 發表于 2020-10-16 19:30 | 只看該作者
非常好的資料,雖然我都沒碰到過.
回復

使用道具 舉報

5#
ID:378732 發表于 2020-10-20 00:23 | 只看該作者
怎么沒有100到200的呢?
回復

使用道具 舉報

6#
ID:337139 發表于 2020-10-20 17:46 | 只看該作者
比軟的全面,有些可能是一個問題引發的幾個警告。
回復

使用道具 舉報

7#
ID:106977 發表于 2020-10-25 17:11 | 只看該作者
Keil的幫助文件的附錄中有所有錯誤信息的名稱和解釋。
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規則

手機版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網

快速回復 返回頂部 返回列表
主站蜘蛛池模板: 91 在线 | 91久久久www播放日本观看 | 伦理片97| 亚洲精品9999 | 国产成人高清 | 日韩成人在线视频 | 国产高清精品一区二区三区 | 色综合一区二区 | 亚洲成人一二区 | 国产精品福利一区二区三区 | 亚洲欧美日韩一区二区 | 女朋友的闺蜜3韩国三级 | 农夫在线精品视频免费观看 | 久久国产精99精产国高潮 | 97日日碰人人模人人澡分享吧 | 人人玩人人添人人澡欧美 | 久久久亚洲精品视频 | 国产激情91久久精品导航 | 国产精品一卡 | 日韩毛片在线观看 | 能看的av网站 | 欧洲一区二区三区 | 久久在线视频 | 国产一区二区三区不卡av | 午夜私人影院在线观看 | 不卡在线视频 | 成人性生交大免费 | 操操日| a毛片| 蜜桃av鲁一鲁一鲁一鲁 | 2019天天干天天操 | 91私密视频 | 国产偷久久一级精品60部 | 二区中文 | 久久av一区 | 国产乱码精品一区二区三区中文 | 精品一区国产 | 国产成人区 | 国产成人在线视频播放 | 久久精品网 | 一级黄色av电影 |