最新常见编译错误解析PPT课件.ppt
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《最新常见编译错误解析PPT课件.ppt》由会员分享,可在线阅读,更多相关《最新常见编译错误解析PPT课件.ppt(14页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、常见编译错误解析常见编译错误解析常见编译器错误提示(二)Call of non-function-Call of non-function-调用未定义的函数调用未定义的函数Call to function with no prototype-Call to function with no prototype-调用函数时没有函数的说明调用函数时没有函数的说明Cannot modify a const object-Cannot modify a const object-不允许修改常量对象不允许修改常量对象Case outside of switch-Case outside of switc
2、h-漏掉了漏掉了case case 语句语句Case syntax error-Case Case syntax error-Case 语法错误语法错误Code has no effect-Code has no effect-代码不可述不可能执行到代码不可述不可能执行到Compound statement missing-Compound statement missing-分程序漏掉分程序漏掉“Conflicting type modifiers-Conflicting type modifiers-不明确的类型说明符不明确的类型说明符Constant expression require
3、d-Constant expression required-要求常量表达式要求常量表达式Constant out of range in comparison-Constant out of range in comparison-在比较中常量超出范围在比较中常量超出范围常见编译器错误提示(九)Parameter xxx is never used-Parameter xxx is never used-能数能数xxxxxx没有用到没有用到Pointer required on left side of-Pointer required on left side of-符号符号-的左边必须是
4、指针的左边必须是指针Possible use of xxx before definition-Possible use of xxx before definition-在定义之前就使用了在定义之前就使用了xxxxxx(警告)(警告)Possibly incorrect assignment-Possibly incorrect assignment-赋值可能不正确赋值可能不正确Redeclaration of xxx-Redeclaration of xxx-重复定义了重复定义了xxxxxxRedefinition of xxx is not identical-xxxRedefiniti
5、on of xxx is not identical-xxx的两次定义不一致的两次定义不一致Register allocation failure-Register allocation failure-寄存器定址失败寄存器定址失败Repeat count needs an lvalue-Repeat count needs an lvalue-重复计数需要逻辑值重复计数需要逻辑值Size of structure or array not known-Size of structure or array not known-结构体或数给大小不确定结构体或数给大小不确定Statement mi
6、ssing;-Statement missing;-语句后缺少语句后缺少;常见编译器错误提示(十)Structure or union syntax error-Structure or union syntax error-结构体或联合体语法错误结构体或联合体语法错误Structure size too large-Structure size too large-结构体尺寸太大结构体尺寸太大Sub scripting missing -Sub scripting missing -下标缺少右方括号下标缺少右方括号Superfluous&with function or array-Supe
7、rfluous&with function or array-函数或数组中有多余的函数或数组中有多余的&“&“Suspicious pointer conversion-Suspicious pointer conversion-可疑的指针转换可疑的指针转换Symbol limit exceeded-Symbol limit exceeded-符号超限符号超限Too few parameters in call-Too few parameters in call-函数调用时的实参少于函数的参数不函数调用时的实参少于函数的参数不Too many default cases-DefaultToo
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 最新 常见 编译 错误 解析 PPT 课件
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内