<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>189402</bug_id>
          
          <creation_ts>2018-09-07 03:19:36 -0700</creation_ts>
          <short_desc>[Win][Clang] exceptionShouldTerminateProgram of StructuredExceptionHandlerSuppressor.cpp should take DWORD</short_desc>
          <delta_ts>2018-09-07 17:42:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>171618</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Fujii Hironori">fujii</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>don.olmstead</cc>
    
    <cc>pvollan</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1457459</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-09-07 03:19:36 -0700</bug_when>
    <thetext>[Win][Clang] exceptionShouldTerminateProgram of StructuredExceptionHandlerSuppressor.cpp should take DWORD

While trying to build WebKit WinCairo port with the latest Clang (Bug 171618),
the following compilation error is reported.

&gt; [3/664] Building CXX object Source\WebCore\CMakeFiles\WebCore.dir\platform\win\StructuredExceptionHandlerSuppressor.cpp.obj
&gt; FAILED: Source/WebCore/CMakeFiles/WebCore.dir/platform/win/StructuredExceptionHandlerSuppressor.cpp.obj 
&gt; C:\tools\llvm\bin\clang-cl.exe  /nologo -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebCore -DHAVE_CONFIG_H=1 -DNOMINMAX -DSTATICALLY_LINKED_WITH_PAL=1 -DUCHAR_TYPE=wchar_t -DUNICODE -DWINVER=0x601 -DWTF_PLATFORM_WIN_CAIRO=1 -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_UNICODE -D_WIN32_WINNT=0x601 -D_WINDOWS -D_WINSOCKAPI_=&quot;&quot; -D__STDC_CONSTANT_MACROS -I..\..\WebKitLibraries\win\include -I. -I..\..\Source\WebCore -I..\..\Source\WebCore\Modules\airplay -I..\..\Source\WebCore\Modules\beacon -I..\..\Source\WebCore\Modules\applepay -I..\..\Source\WebCore\Modules\applepay\paymentrequest -I..\..\Source\WebCore\Modules\cache -I..\..\Source\WebCore\Modules\credentialmanagement -I..\..\Source\WebCore\Modules\encryptedmedia -I..\..\Source\WebCore\Modules\encryptedmedia\legacy -I..\..\Source\WebCore\Modules\entriesapi -I..\..\Source\WebCore\Modules\fetch -I..\..\Source\WebCore\Modules\geolocation -I..\..\Source\WebCore\Modules\indexeddb -I..\..\Source\WebCore\Modules\indexeddb\client -I..\..\Source\WebCore\Modules\indexeddb\server -I..\..\Source\WebCore\Modules\indexeddb\shared -I..\..\Source\WebCore\Modules\mediacapabilities -I..\..\Source\WebCore\Modules\mediacontrols -I..\..\Source\WebCore\Modules\mediasession -I..\..\Source\WebCore\Modules\mediasource -I..\..\Source\WebCore\Modules\mediastream -I..\..\Source\WebCore\Modules\navigatorcontentutils -I..\..\Source\WebCore\Modules\notifications -I..\..\Source\WebCore\Modules\paymentrequest -I..\..\Source\WebCore\Modules\plugins -I..\..\Source\WebCore\Modules\quota -I..\..\Source\WebCore\Modules\speech -I..\..\Source\WebCore\Modules\streams -I..\..\Source\WebCore\Modules\webaudio -I..\..\Source\WebCore\Modules\webauthn -I..\..\Source\WebCore\Modules\webdatabase -I..\..\Source\WebCore\Modules\webdriver -I..\..\Source\WebCore\Modules\websockets -I..\..\Source\WebCore\Modules\webvr -I..\..\Source\WebCore\accessibility -I..\..\Source\WebCore\animation -I..\..\Source\WebCore\bindings -I..\..\Source\WebCore\bindings\js -I..\..\Source\WebCore\bridge -I..\..\Source\WebCore\bridge\c -I..\..\Source\WebCore\bridge\jsc -I..\..\Source\WebCore\contentextensions -I..\..\Source\WebCore\crypto -I..\..\Source\WebCore\crypto\algorithms -I..\..\Source\WebCore\crypto\keys -I..\..\Source\WebCore\crypto\parameters -I..\..\Source\WebCore\css -I..\..\Source\WebCore\css\parser -I..\..\Source\WebCore\cssjit -I..\..\Source\WebCore\dom -I..\..\Source\WebCore\dom\default -I..\..\Source\WebCore\dom\messageports -I..\..\Source\WebCore\domjit -I..\..\Source\WebCore\editing -I..\..\Source\WebCore\fileapi -I..\..\Source\WebCore\history -I..\..\Source\WebCore\html -I..\..\Source\WebCore\html\canvas -I..\..\Source\WebCore\html\forms -I..\..\Source\WebCore\html\parser -I..\..\Source\WebCore\html\shadow -I..\..\Source\WebCore\html\track -I..\..\Source\WebCore\inspector -I..\..\Source\WebCore\inspector\agents -I..\..\Source\WebCore\inspector\agents\page -I..\..\Source\WebCore\inspector\agents\worker -I..\..\Source\WebCore\loader -I..\..\Source\WebCore\loader\appcache -I..\..\Source\WebCore\loader\archive -I..\..\Source\WebCore\loader\archive\mhtml -I..\..\Source\WebCore\loader\cache -I..\..\Source\WebCore\loader\icon -I..\..\Source\WebCore\mathml -I..\..\Source\WebCore\page -I..\..\Source\WebCore\page\animation -I..\..\Source\WebCore\page\csp -I..\..\Source\WebCore\page\scrolling -I..\..\Source\WebCore\platform -I..\..\Source\WebCore\platform\animation -I..\..\Source\WebCore\platform\audio -I..\..\Source\WebCore\platform\crypto -I..\..\Source\WebCore\platform\encryptedmedia -I..\..\Source\WebCore\platform\gamepad -I..\..\Source\WebCore\platform\graphics -I..\..\Source\WebCore\platform\graphics\cpu\arm -I..\..\Source\WebCore\platform\graphics\cpu\arm\filters -I..\..\Source\WebCore\platform\graphics\displaylists -I..\..\Source\WebCore\platform\graphics\filters -I..\..\Source\WebCore\platform\graphics\harfbuzz -I..\..\Source\WebCore\platform\graphics\harfbuzz\ng -I..\..\Source\WebCore\platform\graphics\iso -I..\..\Source\WebCore\platform\graphics\opentype -I..\..\Source\WebCore\platform\graphics\transforms -I..\..\Source\WebCore\platform\mediastream -I..\..\Source\WebCore\platform\mediastream\libwebrtc -I..\..\Source\WebCore\platform\mock -I..\..\Source\WebCore\platform\mock\mediasource -I..\..\Source\WebCore\platform\network -I..\..\Source\WebCore\platform\sql -I..\..\Source\WebCore\platform\text -I..\..\Source\WebCore\platform\text\icu -I..\..\Source\WebCore\platform\vr -I..\..\Source\WebCore\plugins -I..\..\Source\WebCore\rendering -I..\..\Source\WebCore\rendering\line -I..\..\Source\WebCore\rendering\mathml -I..\..\Source\WebCore\rendering\shapes -I..\..\Source\WebCore\rendering\style -I..\..\Source\WebCore\rendering\svg -I..\..\Source\WebCore\rendering\updating -I..\..\Source\WebCore\replay -I..\..\Source\WebCore\storage -I..\..\Source\WebCore\style -I..\..\Source\WebCore\svg -I..\..\Source\WebCore\svg\animation -I..\..\Source\WebCore\svg\graphics -I..\..\Source\WebCore\svg\graphics\filters -I..\..\Source\WebCore\svg\properties -I..\..\Source\WebCore\websockets -I..\..\Source\WebCore\workers -I..\..\Source\WebCore\workers\service -I..\..\Source\WebCore\workers\service\context -I..\..\Source\WebCore\workers\service\server -I..\..\Source\WebCore\xml -I..\..\Source\WebCore\xml\parser -IDerivedSources\WebCore -IDerivedSources\ForwardingHeaders\ANGLE -I..\..\Source\WebCore\platform\graphics\gpu -IDerivedSources\ForwardingHeaders -I..\include\private -I..\include\private\JavaScriptCore -I..\..\Source\WebCore\accessibility\win -I..\..\Source\WebCore\page\win -I..\..\Source\WebCore\platform\graphics\egl -I..\..\Source\WebCore\platform\graphics\opengl -I..\..\Source\WebCore\platform\graphics\win -I..\..\Source\WebCore\platform\mediacapabilities -I..\..\Source\WebCore\platform\network\win -I..\..\Source\WebCore\platform\win -I..\..\Source\ThirdParty\ANGLE\include -I..\..\Source\ThirdParty\ANGLE\include\egl -I..\..\Source\WebCore\platform\cf -I..\..\Source\WebCore\platform\cf\win -I..\..\Source\WebCore\platform\graphics\cairo -I..\..\Source\WebCore\platform\network\curl -I..\..\Source\WebCore\platform\image-decoders -I..\..\Source\WebCore\platform\image-decoders\bmp -I..\..\Source\WebCore\platform\image-decoders\gif -I..\..\Source\WebCore\platform\image-decoders\ico -I..\..\Source\WebCore\platform\image-decoders\jpeg -I..\..\Source\WebCore\platform\image-decoders\png -I..\..\Source\WebCore\platform\image-decoders\webp -I..\..\Source\WebCore\platform\graphics\texmap -I..\..\Source\WebCore\loader\archive\cf -I..\..\WebKitLibraries\win\include\cairo -I..\..\Source\bmalloc -IDerivedSources -I..\..\Source\ThirdParty -fdiagnostics-color=always -fcolor-diagnostics -Wno-parentheses-equality -Wno-noexcept-type -Qunused-arguments -Wno-unknown-argument -Wno-nonportable-include-path -Wno-unknown-pragmas -Wno-macro-redefined -Wno-undef -m64 -fno-strict-aliasing /MD /Zi /Ob0 /Od /RTC1   /bigobj /wd4018 /wd4068 /wd4099 /wd4100 /wd4127 /wd4138 /wd4146 /wd4180 /wd4189 /wd4201 /wd4206 /wd4244 /wd4251 /wd4267 /wd4275 /wd4288 /wd4291 /wd4305 /wd4309 /wd4344 /wd4355 /wd4389 /wd4396 /wd4456 /wd4457 /wd4458 /wd4459 /wd4481 /wd4503 /wd4505 /wd4510 /wd4512 /wd4530 /wd4610 /wd4611 /wd4646 /wd4702 /wd4706 /wd4722 /wd4800 /wd4819 /wd4951 /wd4952 /wd4996 /wd6011 /wd6031 /wd6211 /wd6246 /wd6255 /wd6387 /Zi /GS /EHa- /EHc- /EHs- /fp:except- /analyze- /bigobj /std:c++17 /utf-8 /validate-charset -fmsc-version=1911 /Yu&quot;WebCorePrefix.h&quot; /FI&quot;WebCorePrefix.h&quot; /Fp&quot;C:/webkit/ga/WebKitBuild/Debug/Source/WebCore/WebCore_SOURCES/WebCorePrefix.pch&quot; /showIncludes /FoSource\WebCore\CMakeFiles\WebCore.dir\platform\win\StructuredExceptionHandlerSuppressor.cpp.obj /Fdlib64\WebCore.pdb -c ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(38,10):  error: case value evaluates to 2147483650, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_DATATYPE_MISALIGNMENT:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(390,45):  note: expanded from macro &apos;EXCEPTION_DATATYPE_MISALIGNMENT&apos;
&gt; #define EXCEPTION_DATATYPE_MISALIGNMENT     STATUS_DATATYPE_MISALIGNMENT
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2466,42):  note: expanded from macro &apos;STATUS_DATATYPE_MISALIGNMENT&apos;
&gt; #define STATUS_DATATYPE_MISALIGNMENT     ((DWORD   )0x80000002L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(39,10):  error: case value evaluates to 3221225613, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_FLT_DENORMAL_OPERAND:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(394,45):  note: expanded from macro &apos;EXCEPTION_FLT_DENORMAL_OPERAND&apos;
&gt; #define EXCEPTION_FLT_DENORMAL_OPERAND      STATUS_FLOAT_DENORMAL_OPERAND
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2481,42):  note: expanded from macro &apos;STATUS_FLOAT_DENORMAL_OPERAND&apos;
&gt; #define STATUS_FLOAT_DENORMAL_OPERAND    ((DWORD   )0xC000008DL)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(40,10):  error: case value evaluates to 3221225614, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_FLT_DIVIDE_BY_ZERO:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(395,45):  note: expanded from macro &apos;EXCEPTION_FLT_DIVIDE_BY_ZERO&apos;
&gt; #define EXCEPTION_FLT_DIVIDE_BY_ZERO        STATUS_FLOAT_DIVIDE_BY_ZERO
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2482,42):  note: expanded from macro &apos;STATUS_FLOAT_DIVIDE_BY_ZERO&apos;
&gt; #define STATUS_FLOAT_DIVIDE_BY_ZERO      ((DWORD   )0xC000008EL)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(41,10):  error: case value evaluates to 3221225615, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_FLT_INEXACT_RESULT:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(396,45):  note: expanded from macro &apos;EXCEPTION_FLT_INEXACT_RESULT&apos;
&gt; #define EXCEPTION_FLT_INEXACT_RESULT        STATUS_FLOAT_INEXACT_RESULT
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2483,42):  note: expanded from macro &apos;STATUS_FLOAT_INEXACT_RESULT&apos;
&gt; #define STATUS_FLOAT_INEXACT_RESULT      ((DWORD   )0xC000008FL)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(42,10):  error: case value evaluates to 3221225616, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_FLT_INVALID_OPERATION:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(397,45):  note: expanded from macro &apos;EXCEPTION_FLT_INVALID_OPERATION&apos;
&gt; #define EXCEPTION_FLT_INVALID_OPERATION     STATUS_FLOAT_INVALID_OPERATION
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2484,42):  note: expanded from macro &apos;STATUS_FLOAT_INVALID_OPERATION&apos;
&gt; #define STATUS_FLOAT_INVALID_OPERATION   ((DWORD   )0xC0000090L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(43,10):  error: case value evaluates to 3221225617, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_FLT_OVERFLOW:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(398,45):  note: expanded from macro &apos;EXCEPTION_FLT_OVERFLOW&apos;
&gt; #define EXCEPTION_FLT_OVERFLOW              STATUS_FLOAT_OVERFLOW
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2485,42):  note: expanded from macro &apos;STATUS_FLOAT_OVERFLOW&apos;
&gt; #define STATUS_FLOAT_OVERFLOW            ((DWORD   )0xC0000091L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(44,10):  error: case value evaluates to 3221225618, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_FLT_STACK_CHECK:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(399,45):  note: expanded from macro &apos;EXCEPTION_FLT_STACK_CHECK&apos;
&gt; #define EXCEPTION_FLT_STACK_CHECK           STATUS_FLOAT_STACK_CHECK
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2486,42):  note: expanded from macro &apos;STATUS_FLOAT_STACK_CHECK&apos;
&gt; #define STATUS_FLOAT_STACK_CHECK         ((DWORD   )0xC0000092L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(45,10):  error: case value evaluates to 3221225619, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_FLT_UNDERFLOW:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(400,45):  note: expanded from macro &apos;EXCEPTION_FLT_UNDERFLOW&apos;
&gt; #define EXCEPTION_FLT_UNDERFLOW             STATUS_FLOAT_UNDERFLOW
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2487,42):  note: expanded from macro &apos;STATUS_FLOAT_UNDERFLOW&apos;
&gt; #define STATUS_FLOAT_UNDERFLOW           ((DWORD   )0xC0000093L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(47,10):  error: case value evaluates to 3221225477, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_ACCESS_VIOLATION:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(389,45):  note: expanded from macro &apos;EXCEPTION_ACCESS_VIOLATION&apos;
&gt; #define EXCEPTION_ACCESS_VIOLATION          STATUS_ACCESS_VIOLATION
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2472,42):  note: expanded from macro &apos;STATUS_ACCESS_VIOLATION&apos;
&gt; #define STATUS_ACCESS_VIOLATION          ((DWORD   )0xC0000005L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(48,10):  error: case value evaluates to 3221225612, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_ARRAY_BOUNDS_EXCEEDED:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(393,45):  note: expanded from macro &apos;EXCEPTION_ARRAY_BOUNDS_EXCEEDED&apos;
&gt; #define EXCEPTION_ARRAY_BOUNDS_EXCEEDED     STATUS_ARRAY_BOUNDS_EXCEEDED
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2480,42):  note: expanded from macro &apos;STATUS_ARRAY_BOUNDS_EXCEEDED&apos;
&gt; #define STATUS_ARRAY_BOUNDS_EXCEEDED     ((DWORD   )0xC000008CL)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(49,10):  error: case value evaluates to 3221225620, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_INT_DIVIDE_BY_ZERO:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(401,45):  note: expanded from macro &apos;EXCEPTION_INT_DIVIDE_BY_ZERO&apos;
&gt; #define EXCEPTION_INT_DIVIDE_BY_ZERO        STATUS_INTEGER_DIVIDE_BY_ZERO
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2488,42):  note: expanded from macro &apos;STATUS_INTEGER_DIVIDE_BY_ZERO&apos;
&gt; #define STATUS_INTEGER_DIVIDE_BY_ZERO    ((DWORD   )0xC0000094L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(50,10):  error: case value evaluates to 3221225621, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_INT_OVERFLOW:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(402,45):  note: expanded from macro &apos;EXCEPTION_INT_OVERFLOW&apos;
&gt; #define EXCEPTION_INT_OVERFLOW              STATUS_INTEGER_OVERFLOW
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2489,42):  note: expanded from macro &apos;STATUS_INTEGER_OVERFLOW&apos;
&gt; #define STATUS_INTEGER_OVERFLOW          ((DWORD   )0xC0000095L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(51,10):  error: case value evaluates to 3221225622, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_PRIV_INSTRUCTION:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(403,45):  note: expanded from macro &apos;EXCEPTION_PRIV_INSTRUCTION&apos;
&gt; #define EXCEPTION_PRIV_INSTRUCTION          STATUS_PRIVILEGED_INSTRUCTION
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2490,42):  note: expanded from macro &apos;STATUS_PRIVILEGED_INSTRUCTION&apos;
&gt; #define STATUS_PRIVILEGED_INSTRUCTION    ((DWORD   )0xC0000096L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(52,10):  error: case value evaluates to 3221225478, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_IN_PAGE_ERROR:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(404,45):  note: expanded from macro &apos;EXCEPTION_IN_PAGE_ERROR&apos;
&gt; #define EXCEPTION_IN_PAGE_ERROR             STATUS_IN_PAGE_ERROR
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2473,42):  note: expanded from macro &apos;STATUS_IN_PAGE_ERROR&apos;
&gt; #define STATUS_IN_PAGE_ERROR             ((DWORD   )0xC0000006L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(53,10):  error: case value evaluates to 3221225501, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_ILLEGAL_INSTRUCTION:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(405,45):  note: expanded from macro &apos;EXCEPTION_ILLEGAL_INSTRUCTION&apos;
&gt; #define EXCEPTION_ILLEGAL_INSTRUCTION       STATUS_ILLEGAL_INSTRUCTION
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2477,42):  note: expanded from macro &apos;STATUS_ILLEGAL_INSTRUCTION&apos;
&gt; #define STATUS_ILLEGAL_INSTRUCTION       ((DWORD   )0xC000001DL)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(54,10):  error: case value evaluates to 3221225509, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_NONCONTINUABLE_EXCEPTION:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(406,45):  note: expanded from macro &apos;EXCEPTION_NONCONTINUABLE_EXCEPTION&apos;
&gt; #define EXCEPTION_NONCONTINUABLE_EXCEPTION  STATUS_NONCONTINUABLE_EXCEPTION
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2478,42):  note: expanded from macro &apos;STATUS_NONCONTINUABLE_EXCEPTION&apos;
&gt; #define STATUS_NONCONTINUABLE_EXCEPTION  ((DWORD   )0xC0000025L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(55,10):  error: case value evaluates to 3221225725, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_STACK_OVERFLOW:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(407,45):  note: expanded from macro &apos;EXCEPTION_STACK_OVERFLOW&apos;
&gt; #define EXCEPTION_STACK_OVERFLOW            STATUS_STACK_OVERFLOW
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2491,42):  note: expanded from macro &apos;STATUS_STACK_OVERFLOW&apos;
&gt; #define STATUS_STACK_OVERFLOW            ((DWORD   )0xC00000FDL)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(56,10):  error: case value evaluates to 3221225510, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_INVALID_DISPOSITION:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(408,45):  note: expanded from macro &apos;EXCEPTION_INVALID_DISPOSITION&apos;
&gt; #define EXCEPTION_INVALID_DISPOSITION       STATUS_INVALID_DISPOSITION
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2479,42):  note: expanded from macro &apos;STATUS_INVALID_DISPOSITION&apos;
&gt; #define STATUS_INVALID_DISPOSITION       ((DWORD   )0xC0000026L)    
&gt;                                          ^
&gt; ..\..\Source\WebCore\platform\win\StructuredExceptionHandlerSuppressor.cpp(57,10):  error: case value evaluates to 2147483649, which cannot be narrowed to type &apos;int&apos; [-Wc++11-narrowing]
&gt;     case EXCEPTION_GUARD_PAGE:
&gt;          ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\minwinbase.h(409,45):  note: expanded from macro &apos;EXCEPTION_GUARD_PAGE&apos;
&gt; #define EXCEPTION_GUARD_PAGE                STATUS_GUARD_PAGE_VIOLATION
&gt;                                             ^
&gt; C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(2465,42):  note: expanded from macro &apos;STATUS_GUARD_PAGE_VIOLATION&apos;
&gt; #define STATUS_GUARD_PAGE_VIOLATION      ((DWORD   )0x80000001L)    
&gt;                                          ^
&gt; fatal error: too many errors emitted, stopping now [-ferror-limit=]
&gt; 20 errors generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1457460</commentid>
    <comment_count>1</comment_count>
      <attachid>349135</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-09-07 03:29:44 -0700</bug_when>
    <thetext>Created attachment 349135
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1457488</commentid>
    <comment_count>2</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2018-09-07 08:42:11 -0700</bug_when>
    <thetext>This is fine. Clang seems to be a lot stricter in terms of implicit conversions compared to MSVC so this is necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1457801</commentid>
    <comment_count>3</comment_count>
      <attachid>349135</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-09-07 17:41:21 -0700</bug_when>
    <thetext>Comment on attachment 349135
Patch

Clearing flags on attachment: 349135

Committed r235825: &lt;https://trac.webkit.org/changeset/235825&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1457802</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-09-07 17:41:22 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1457803</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-09-07 17:42:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/44246178&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>349135</attachid>
            <date>2018-09-07 03:29:44 -0700</date>
            <delta_ts>2018-09-07 17:41:21 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-189402-20180907192943.patch</filename>
            <type>text/plain</type>
            <size>1804</size>
            <attacher name="Fujii Hironori">fujii</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjM1NzgwCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggNjhjNmFiN2I4ZTU4ODA1
ZTQyMjNmZTZjNGUwMDlkZGI5NTMyODA3ZS4uMGE0OGJiZThkODc0NDVkYzFiMTg4ZGQ0MTA3YmNi
ZjhlZjc4ZDg4NiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDIxIEBACisyMDE4LTA5LTA3ICBGdWpp
aSBIaXJvbm9yaSAgPEhpcm9ub3JpLkZ1amlpQHNvbnkuY29tPgorCisgICAgICAgIFtXaW5dW0Ns
YW5nXSBleGNlcHRpb25TaG91bGRUZXJtaW5hdGVQcm9ncmFtIG9mIFN0cnVjdHVyZWRFeGNlcHRp
b25IYW5kbGVyU3VwcHJlc3Nvci5jcHAgc2hvdWxkIHRha2UgRFdPUkQKKyAgICAgICAgaHR0cHM6
Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE4OTQwMgorCisgICAgICAgIFJldmll
d2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIENsYW5nIHJlcG9ydHMgY29tcGlsYXRp
b24gZXJyb3JzIGxpa2UgZm9sbG93aW5nOgorCisgICAgICAgID4gU3RydWN0dXJlZEV4Y2VwdGlv
bkhhbmRsZXJTdXBwcmVzc29yLmNwcCgzOCwxMCk6ICBlcnJvcjogY2FzZSB2YWx1ZSBldmFsdWF0
ZXMgdG8gMjE0NzQ4MzY1MCwgd2hpY2ggY2Fubm90IGJlIG5hcnJvd2VkIHRvIHR5cGUgJ2ludCcg
Wy1XYysrMTEtbmFycm93aW5nXQorICAgICAgICA+ICAgICBjYXNlIEVYQ0VQVElPTl9EQVRBVFlQ
RV9NSVNBTElHTk1FTlQ6CisgICAgICAgID4gICAgICAgICAgXgorCisgICAgICAgIE5vIG5ldyB0
ZXN0cyAobm8gYmVoYXZpb3JhbCBjaGFuZ2UpLgorCisgICAgICAgICogcGxhdGZvcm0vd2luL1N0
cnVjdHVyZWRFeGNlcHRpb25IYW5kbGVyU3VwcHJlc3Nvci5jcHA6CisgICAgICAgIChleGNlcHRp
b25TaG91bGRUZXJtaW5hdGVQcm9ncmFtKTogQ2hhbmdlZCB0aGUgdHlwZSBvZiBhcmd1bWVudCBm
cm9tIGludCB0byBEV09SRC4KKwogMjAxOC0wOS0wNiAgUnlvc3VrZSBOaXdhICA8cm5pd2FAd2Vi
a2l0Lm9yZz4KIAogICAgICAgICBTaGFkb3dSb290IHNob3VsZCBoYXZlIGl0cyBvd24gbm9kZSBm
bGFnCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9wbGF0Zm9ybS93aW4vU3RydWN0dXJlZEV4
Y2VwdGlvbkhhbmRsZXJTdXBwcmVzc29yLmNwcCBiL1NvdXJjZS9XZWJDb3JlL3BsYXRmb3JtL3dp
bi9TdHJ1Y3R1cmVkRXhjZXB0aW9uSGFuZGxlclN1cHByZXNzb3IuY3BwCmluZGV4IDY2OTQ3ZmQ1
OTU5OTYxNTE2MmE0MThhODBmN2NlMmY4MTk4OTE2ZjYuLmIxMjg3MWFlZjVhY2U1NDBmYmFmZmVl
M2M4YjJlNjVhYzQwZjg3YTUgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XZWJDb3JlL3BsYXRmb3JtL3dp
bi9TdHJ1Y3R1cmVkRXhjZXB0aW9uSGFuZGxlclN1cHByZXNzb3IuY3BwCisrKyBiL1NvdXJjZS9X
ZWJDb3JlL3BsYXRmb3JtL3dpbi9TdHJ1Y3R1cmVkRXhjZXB0aW9uSGFuZGxlclN1cHByZXNzb3Iu
Y3BwCkBAIC0zMSw3ICszMSw3IEBACiBleHRlcm4gIkMiIGludCBfX3N0ZGNhbGwgZXhjZXB0aW9u
SGFuZGxlclRodW5rKCk7IC8vIERlZmluZWQgaW4gbWFrZXNhZmVzZWguYXNtCiAjZW5kaWYKIAot
c3RhdGljIGJvb2wgZXhjZXB0aW9uU2hvdWxkVGVybWluYXRlUHJvZ3JhbShpbnQgY29kZSkKK3N0
YXRpYyBib29sIGV4Y2VwdGlvblNob3VsZFRlcm1pbmF0ZVByb2dyYW0oRFdPUkQgY29kZSkKIHsK
ICAgICBzd2l0Y2ggKGNvZGUpIHsKICNpZm5kZWYgTkRFQlVHCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>