What do I need to do to use tgmath on iOS?
问题 I'm compiling my first project with 64 bit support enabled. I'm running into a bunch of compiler warnings about implicit conversions to float. This is happening because I'm using fabsf() and assigning the result to a CGFloat (which is a double, not float on the new 64 bit architecture). According to the answer on this question: CGFloat-based math functions? I just need to #include <tgmath.h> to solve this problem and probably change fabsf to fabs . I have at least one file where this doesn't