问题
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