
11 Aug
2017
11 Aug
'17
12:46 p.m.
On Fri, Aug 11, 2017 at 05:25:32PM +0100, Daniel P. Berrange wrote:
When building libvirt with clang we get bogus warnings about 'double' being promoted to 'long double' when calling isnan().
https://bugzilla.redhat.com/show_bug.cgi?id=1472437
Detect this broken isnan() / compiler combination and disable the -Wdouble-promotion flag.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com> --- m4/virt-compile-warnings.m4 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>