fp.c: Suppress float-conversion warnings on FreeBSD.
commit51475aee57523318d0b0a9e47dedad89ef1b578c
authorNick Mathewson <nickm@torproject.org>
Tue, 10 Sep 2019 14:53:39 +0000 (10 10:53 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 10 Sep 2019 14:55:44 +0000 (10 10:55 -0400)
tree67540cb3b6afba164bc6ed54fe9888863f81e9a3
parent04618371497bd5040d3af3e6fd782c361a7ba3a5
fp.c: Suppress float-conversion warnings on FreeBSD.

We used to do this on Windows only, but it appears to affect
multiple platforms when building with certain versions of GCC, and a
common pattern for defining the floating-point classifier functions.

Fixes part of 31687. I'm calling this a bugfux on 31687, when we
started suppressing these warnings on Windows.
changes/ticket31687_1 [new file with mode: 0644]
src/lib/math/fp.c