开发者

Implicit declaration of function 'funcName' ; Previous implicit declaration of 'funcName' was here?

开发者 https://www.devze.com 2023-03-09 04:33 出处:网络
I get 2 warnings: Implicit declaration of function \'funcName\' Previous implicit decl开发者_StackOverflowaration of \'funcName\' was here

I get 2 warnings:

  • Implicit declaration of function 'funcName'
  • Previous implicit decl开发者_StackOverflowaration of 'funcName' was here

Not sure why.


Just what the warning says. An "implicit" declaration of a function is usually one that isn't defined yet. Could you also include the line of code that is giving you that warning?

My first thought is that you are not #import ing some code you need so the compiler knows where to find that function.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号