“No previous prototype for function” warning

前端 未结 4 1633
情歌与酒
情歌与酒 2021-02-01 12:59

i use shareKit to myself program .

but in the FBConnectGlobal, there are some warning,

NSMutableArray* FBCreateNonRetainingArray() {
  CFArrayCallBacks c         


        
4条回答
  •  醉酒成梦
    2021-02-01 13:53

    UPDATE: Disable warnings is not a good solution, check @Derek Bredensteiner's answer.

    In Xcode 4, go to your project's Build Settings. Search for "prototype". There should be an option called "Missing Function Prototypes"; disable it.

    via here

提交回复
热议问题