ARC警告:函数"DLog"的隐式声明在C99中无效

问题描述:

我在 ARC 项目中使用了DLog宏,并且得到了警告:

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

Implicit declaration of function 'DLog' is invalid in C99

您可以从 http:/中找到DLog/iphoneincubator.com/blog/debugging/the-evolution-of-a-replacement-for-nslog

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

如何解决此警告?

在不带大写L的情况下调用Dlog时,我实际上收到了此警告.我将其更改为DLog,并且一切正常.但是您似乎正确了.

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.