[Webkit-unassigned] [Bug 193035] New: [JSC][Win][Clang] warning: implicit conversion from 'size_t' (aka 'unsigned long long') to 'int32_t' (aka 'int') changes value from 18446744073709551552 to -64 [-Wconstant-conversion]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 25 22:47:44 PST 2018


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

            Bug ID: 193035
           Summary: [JSC][Win][Clang] warning: implicit conversion from
                    'size_t' (aka 'unsigned long long') to 'int32_t' (aka
                    'int') changes value from 18446744073709551552 to -64
                    [-Wconstant-conversion]
           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
            Blocks: 171618

[JSC][Win][Clang] warning: implicit conversion from 'size_t' (aka 'unsigned long long') to 'int32_t' (aka 'int') changes value from 18446744073709551552 to -64 [-Wconstant-conversion]

clang-cl reports the following warnings for WinCairo port x64 builds:

> ..\..\Source\JavaScriptCore\dfg/DFGJITCompiler.cpp(390,29):  warning: implicit conversion from 'size_t' (aka 'unsigned long long') to 'int32_t' (aka 'int') changes value from 18446744073709551552 to -64 [-Wconstant-conversion]
> ..\..\Source\JavaScriptCore\dfg/DFGJITCompiler.cpp(466,29):  warning: implicit conversion from 'size_t' (aka 'unsigned long long') to 'int32_t' (aka 'int') changes value from 18446744073709551552 to -64 [-Wconstant-conversion]
> ..\..\Source\JavaScriptCore\dfg/DFGJITCompiler.cpp(486,33):  warning: implicit conversion from 'size_t' (aka 'unsigned long long') to 'int32_t' (aka 'int') changes value from 18446744073709551552 to -64 [-Wconstant-conversion]
> ..\..\Source\JavaScriptCore\jit/JIT.cpp(732,29):  warning: implicit conversion from 'size_t' (aka 'unsigned long long') to 'int32_t' (aka 'int') changes value from 18446744073709551552 to -64 [-Wconstant-conversion]
> ..\..\Source\JavaScriptCore\jit/JIT.cpp(749,33):  warning: implicit conversion from 'size_t' (aka 'unsigned long long') to 'int32_t' (aka 'int') changes value from 18446744073709551552 to -64 [-Wconstant-conversion]
> ..\..\Source\JavaScriptCore\jit/ThunkGenerators.cpp(93,43):  warning: implicit conversion from 'size_t' (aka 'unsigned long long') to 'int32_t' (aka 'int') changes value from 18446744073709551552 to -64 [-Wconstant-conversion]


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=171618
[Bug 171618] [Win][Meta] Build WebKit using Clang
-- 
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/20181226/10035e7d/attachment-0001.html>


More information about the webkit-unassigned mailing list