ARC warning: Implicit declaration of function 'DLog' is invalid in C99

扶醉桌前 提交于 2019-12-08 01:36:05

问题


I use DLog macro in an ARC project, and I got the warning:

Implicit declaration of function 'DLog' is invalid in C99

You can find DLog from http://iphoneincubator.com/blog/debugging/the-evolution-of-a-replacement-for-nslog

How to fix this warning?


回答1:


I actually had this warning when calling Dlog without a capital L. I changed it into DLog and everything worked fine. But you seem to have it correct.




回答2:


Make sure your Prefix.pch file is included in 'Build Settings' -> 'Prefix Header'



来源:https://stackoverflow.com/questions/9799838/arc-warning-implicit-declaration-of-function-dlog-is-invalid-in-c99

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!