[Webkit-unassigned] [Bug 209955] New: [Clang 10] Fix -Wimplicit-int-float-conversion compilation warnings in WTF

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 3 01:00:27 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=209955

            Bug ID: 209955
           Summary: [Clang 10] Fix -Wimplicit-int-float-conversion
                    compilation warnings in WTF
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com
            Blocks: 204834

[Clang 10] Fix -Wimplicit-int-float-conversion compilation warnings in WTF

This is a sub-task of Bug 204834.

Clang 10 reports a compilation warning:

> wtf/MathExtras.h(401,43): warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
>         double fmodValue = fmod(trunc(d), std::numeric_limits<unsigned long long>::max() + 1.0);


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=204834
[Bug 204834] Clang 10 reports -Wimplicit-int-float-conversion compilation warnings
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200403/ee83d9a2/attachment-0001.htm>


More information about the webkit-unassigned mailing list