[erlang-patches] Use isfinite() instead of finite() when available
Fredrik
fredrik@REDACTED
Fri Nov 15 09:01:49 CET 2013
On 11/15/2013 02:53 AM, Anthony Ramine wrote:
> Hello,
>
> This fixes the following warning on Mac OS X 10.9 Mavericks:
>
> hipe/hipe_bif0.c:1025:10: warning: 'finite' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
> if (!finite(p->hipe.float_result)) {
> ^
> /usr/include/math.h:718:12: note: 'finite' declared here
> extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
> ^
>
> git fetch https://github.com/nox/otp isfinite
>
> https://github.com/nox/otp/compare/isfinite
> https://github.com/nox/otp/compare/isfinite.patch
>
> Regards,
>
Hello Anthony,
Fetched your patch and assigned it to be reviewed by responsible developers.
Thanks!
--
BR Fredrik Gustafsson
Erlang OTP Team
More information about the erlang-patches
mailing list