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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 5 14:26:14 PDT 2020


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

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

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

This is a sub-task of Bug 204834.

Clang 10 reports a compilation warning in JavaScriptCore:

> ..\..\Source\JavaScriptCore\bytecode/CodeBlock.cpp(3002,24): warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
>     if (doubleResult > std::numeric_limits<size_t>::max())
>                      ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

See also: r259537 (which is for WTF)

-- 
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/20200405/f414e6d4/attachment-0001.htm>


More information about the webkit-unassigned mailing list