[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] m4: workaround clang/glibc problem with isnan()



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>

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]