I am currently using Xcode 4, and in my .pch file I have this macro:
#define localize(s) NSLocalizedString((s), nil)
.
When I try to use this macro in some .m file, I receive this warning: Implicit declaration of function 'localize' is invalid in C99
.
This code compiles without a problem, but how can I fix this so I don't get a warning?
See Question&Answers more detail:os