Bug 234544

Summary: MSVC reports "X86Assembler.h(338): warning C5054: operator '+': deprecated between enumerations of different types" with /std:c++20
Product: WebKit Reporter: Fujii Hironori <fujii.hironori>
Component: JavaScriptCoreAssignee: Fujii Hironori <fujii.hironori>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Fujii Hironori
Reported 2021-12-20 20:44:12 PST
MSVC reports "X86Assembler.h(338): warning C5054: operator '+': deprecated between enumerations of different types" with /std:c++20 > Source\JavaScriptCore\assembler\X86Assembler.h(338): warning C5054: operator '+': deprecated between enumerations of different types > Source\JavaScriptCore\assembler\X86Assembler.h(343): warning C5054: operator '+': deprecated between enumerations of different types > Source\JavaScriptCore\assembler\X86Assembler.h(348): warning C5054: operator '+': deprecated between enumerations of different types > Source\JavaScriptCore\jit\ICStats.h(153): warning C5054: operator '+': deprecated between enumerations of different types > Source\JavaScriptCore\jit\ICStats.h(154): warning C5054: operator '+': deprecated between enumerations of different types
Attachments
Patch (3.11 KB, patch)
2021-12-20 20:48 PST, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2021-12-20 20:48:31 PST
Radar WebKit Bug Importer
Comment 2 2021-12-27 20:45:18 PST
Fujii Hironori
Comment 3 2022-01-04 23:01:02 PST
MSVC /std:c++20 switch introduces a lot of warning C5054 for WebKit. I'm going to suppress it in Bug 233448. Closed this ticket as WONTFIX.
Note You need to log in before you can comment on or make changes to this bug.