Monday, June 18, 2012

No previous prototype for function




How to handle the Xcode warning “no previous prototype for function…”?


Go to project's Build Settings. Search for "prototype". There is an option called "Missing Function Prototypes" under Apple LLVM complier 3.1 warning; disable it. 
Optionally, you can also do this to the specific target(s) in question.

No comments:

Post a Comment