ç隐式声明的内部函数声明不同 [英] C Implicit declaration differs from internal function declaration

查看:170
本文介绍了ç隐式声明的内部函数声明不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在遇到一些麻烦C标准的功能。举个例子,我得到的memcpy函数的错误,甚至传递正确的参数传递给它。
我已经包含了头为的#includeheader.h,我已经包括在内,所以在header.h文件。
(我也收到此错误与strcpy的,strtok的,以及其他一些标准功能,包括在header.h所有各自头)

I'm having some trouble with C standard functions. As an example, I'm getting that error in the memcpy function, even passing the right arguments to it. I've included a header as #include "header.h", and I've included , and so in the "header.h" file. (I'm also getting this error with strcpy, strtok, and some other standard functions, all respective headers included in "header.h")

任何人都可以请帮我这个?我的时间不多了部署这项工作...
在此先感谢

Can anyone please help me with this? I'm running out of time to deploy this work... Thanks in advance

推荐答案

看来是日食中的一些麻烦。我右单击这些功能之一,选择源 - >添加包括它解决了这个问题(但没有添加任何标头)。
我希望这可以帮助别人

It seems it was some trouble within eclipse. I right clicked one of those functions, selected Source->Add includes and it solved the problem (but didn't added any header). I hope this can be helpful for someone else

这篇关于ç隐式声明的内部函数声明不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆