We turned on some warnings recommended by Apple (in WWDC sessions this year), including "Strict Prototypes" (`-Wstrict-prototypes`). When integrating UrbanAirship we get warnings based on UAPushNotificationDelegate's completion callbacks that are tagged as `void (^)()` -- Apple's Compiler Engineers explicitly warn this as dangerous, because it forces the compiler to allow calling with arbitrary parameters which could lead to explosions because the calling convention might shift.
Screenshot of the warning in our implementation file:
We integrated UrbanAirship through CocoaPods.
- Frederic Barthelemy