keil(MDK)中出现error: #513: a value of type "int" cannot be assigned to an entity of type "char *",即函数返回值无法赋值给对应变量的错误
2013-04-29 22:34
2096 查看
对于Value=Fun()调用,出错究其原因一般有以下几点:
1、函数返回值是int型,Value是char *
2、函数返回值是char*,Value是char *,但是调用Fun函数的文件没有包含Fun函数的声明。(keil才会出现)。
3、其它未知
1、函数返回值是int型,Value是char *
2、函数返回值是char*,Value是char *,但是调用Fun函数的文件没有包含Fun函数的声明。(keil才会出现)。
3、其它未知
相关文章推荐
- keil(MDK)中出现error: #513: a value of type "int" cannot be assigned to an entity of type "char *",即函数返
- 类似Build Error: #513: a value of type "int" cannot be assigned to an entity of type "char *"
- caffe: fuck compile error again : error: a value of type "const float *" cannot be used to initialize an entity of type "float *"
- a value of type "const struct Menu * "cannot be assigned to an entity of type "struct Menu"
- 关于“Error: Net "gdfx_temp0", which fans out to "***:inst4|BIN", cannot be assigned more than”错误
- Err:The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List or array
- org.apache.axis cannot be resolved to a type且Syntax error on token "enum", class expected错误
- The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List
- Null value was assigned to a property of primitive type setter ,hibernate int型数据无法读取 hiberante读int
- new JSONObject(str)无法解析 报错:org.json.JSONException: Value of type java.lang.String cannot be converted to JSONObject
- "List cannot be resolved to a type"错误的解决方法
- hibernate Null value was assigned to a property of primitive type setter of 错误解决
- Eclipse luna 导入web项目出现错误 String cannot be resolved to a type
- Value of type java.lang.String cannot be converted to JSONObject
- SQL Server 对等复制配置失败后无法删除重建,报错:Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be im
- 泪的教训!"Uncaught TypeError: Cannot set property 'value' of null"
- MyEclipse中出现“HttpServletRequest cannot be resolved to a type”的错误
- An entity object cannot be referenced by multiple instances of IEntityChangeTracker错误解决
- JSONException: Value of type java.lang.String cannot be converted to JSONObject
- org.json.JSONException: Value of type java.lang.String cannot be converted to JSON