I'm rewriting some Mac code that embeds a freeware library originally written in C. The compiler is complaining that since I'm using long double
, I should use fabsl
rather than fabs
. So I went and changed them.
However, reading a few pages on the topic it seems that there should be no difference, that ever since C99, there is a type generic macro that inserts the correct call based on type.
So perhaps I am using the wrong dialect?
Does anyone know what the Compiler Default is in xcode7, and whether it has the generic macro?