How to use GCMathParser in iOS 5 application (XCode 4.2) with ARC?
问题 After changing - #import <Cocoa/Cocoa.h> to #import <UIKit/UIKit.h> - "pi" to "M_PI" and disabling ARC for the GCMathParser files, I get the following error: (multiple places) Cast of C pointer type "void*" to Objective-C pointer type "GCMathParser*" requires a bridged cast What do I have to do? Thanks 回答1: ARC doesn't let you hide objects behind untyped pointers -- it needs to know which pointers are objects in order to do its magic. If you're dealing with a framework that relies heavily on