Bug 238988 - [WinCairo] When building WebKit WinCairo port failed to build due to errors C2146、 C2065、 C2143、 C2059 on windows with MSVC
Summary: [WinCairo] When building WebKit WinCairo port failed to build due to errors C...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Windows 10
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-08 01:34 PDT by April
Modified: 2022-04-13 02:58 PDT (History)
2 users (show)

See Also:


Attachments
error.log (251.75 KB, text/plain)
2022-04-08 01:34 PDT, April
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description April 2022-04-08 01:34:06 PDT
Created attachment 457029 [details]
error.log

Issue description:
We tried to build WebKit WinCairo using VS2019. WebKit WinCairo port failed to build due to (errors C2146、 C2065、 C2143、 C2059) on windows with MSVC. It can be reproduced on master branch latest commit https://github.com/WebKit/WebKit/commit/623fee9. Could you please help take a look at this? Thanks in advance!

Repro steps:
1. git clone https://github.com/WebKit/webkit F:\WebKit
2. open a VS 2019 x64 command prompt as admin and browse to F:\WebKit
3. download latest WebKitAuxiliaryLibrary.zip from 
   https://github.com/WebKitForWindows/WebKitRequirements/releases/download/v2022.03.05/WebKitRequirementsWin64.zip and unzip to F:\tools\WebKit
4. download latest WebKitAuxiliaryLibrary.zip from https://developer.apple.com/opensource/internet/WebKitAuxiliaryLibrary.zip and unzip to 
   F:\tools\WebKit
5. download latest WebKitSupportLibrary.zip from https://developer.apple.com/opensource/internet/webkit_sptlib_agree.html and unzip to 
   F:\tools\WebKit
6. git -C "F:\webkit" reset --hard 623fee9
7. set path=F:\tools\WebKit\tools;%path%
8. xcopy F:\tools\WebKit\WebKitRequirementsWin64 F:\WebKit\WebKitLibraries\win /k/r/e/i/s/c/h/f/y
9. xcopy F:\tools\WebKit\WebKitAuxiliaryLibrary\win F:\WebKit\WebKitLibraries\win /k/r/e/i/s/c/h/f/y
10. xcopy F:\tools\WebKit\WebKitSupportLibrary\win F:\WebKit\WebKitLibraries\win /k/r/e/i/s/c/h/f/y
11. set _CL_=/Zc:lambda
12. cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DCMAKE_BUILD_TYPE=Release -DRUBY_LIBRARY=C:\tools\ruby26\lib -DPORT="WinCairo" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSHOW_BINDINGS_GENERATION_PROGRESS=1 -DDEVELOPER_MODE=ON -DENABLE_EXPERIMENTAL_FEATURES=ON .. 2>&1
13. msbuild /p:Platform=x64 /p:Configuration=Release WebKit.sln /t:Rebuild 2>&1

Actual result:
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271,73): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271,73): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271,73): error C2065: 'PRIxPTR': undeclared identifier [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271,81): error C2143: syntax error: missing ';' before 'string' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271,95): error C2059: syntax error: ')' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671,73): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671,73): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671,73): error C2065: 'PRIxPTR': undeclared identifier [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671,81): error C2143: syntax error: missing ';' before 'string' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671,95): error C2059: syntax error: ')' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382,59): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382,59): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382,59): error C2065: 'PRIxPTR': undeclared identifier [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382,67): error C2143: syntax error: missing ';' before 'string' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382,72): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382,72): error C2065: 'PRIxPTR': undeclared identifier [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2383,31): error C2143: syntax error: missing ';' before 'string' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2385,91): error C2059: syntax error: ')' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392,59): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392,59): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392,59): error C2065: 'PRIxPTR': undeclared identifier [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392,67): error C2143: syntax error: missing ';' before 'string' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392,72): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392,72): error C2065: 'PRIxPTR': undeclared identifier [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2393,31): error C2143: syntax error: missing ';' before 'string' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2395,69): error C2059: syntax error: ')' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051,77): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051,77): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051,77): error C2065: 'PRIxPTR': undeclared identifier [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051,95): error C2059: syntax error: ')' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427,77): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427,77): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427,77): error C2065: 'PRIxPTR': undeclared identifier [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427,85): error C2143: syntax error: missing ';' before 'string' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
F:\Webkit\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427,99): error C2059: syntax error: ')' [F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj]
  loadimage.cpp
  loadimage_etc.cpp
  compression_utils_portable.cc
Done Building Project "F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj" (Rebuild target(s)) -- FAILED.
Done Building Project "F:\Webkit\build_amd64_WinCairo\Source\ThirdParty\ANGLE\ANGLE.vcxproj.metaproj" (Rebuild target(s)) -- FAILED.
Comment 1 Fujii Hironori 2022-04-08 13:21:27 PDT
(In reply to April from comment #0)
> 4. download latest WebKitAuxiliaryLibrary.zip from
> https://developer.apple.com/opensource/internet/WebKitAuxiliaryLibrary.zip
> and unzip to 
>    F:\tools\WebKit
> 5. download latest WebKitSupportLibrary.zip from
> https://developer.apple.com/opensource/internet/webkit_sptlib_agree.html and
> unzip to 

WebKitAuxiliaryLibrary.zip and WebKitSupportLibrary.zip are only for AppleWin port, not for WinCairo port.
Don't use them for WinCairo port.
Comment 2 Fujii Hironori 2022-04-08 13:23:53 PDT
This is the WinCairo build instructions.
https://trac.webkit.org/wiki/BuildingCairoOnWindows#BuildingWinCairo
Comment 3 Fujii Hironori 2022-04-11 20:37:15 PDT
Closed. Please reopen if you still have a problem.
Comment 4 Radar WebKit Bug Importer 2022-04-11 20:38:15 PDT
<rdar://problem/91605016>
Comment 5 April 2022-04-12 02:24:25 PDT
Yes, when I was not WebKitSupportLibrary and WebKitAuxiliaryLibrary to build WinCairo port, it also failed with a known assertion bug: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1490389/, thanks for your reminding.
Comment 6 Fujii Hironori 2022-04-12 13:50:54 PDT
I can't see the page

> 401 - Uh-oh, you do not have access.
> The request requires authentication.
> 4/12/2022 8:47:57 PM (UTC)
> 2985bfb1-8a02-4e17-87ff-bf0ccc68c376

What is the known assertion bug?
Comment 7 Fujii Hironori 2022-04-12 14:14:53 PDT
I can reproduce the compilation error of comment#0 by building WinCairo after building AppleWin without wiping out WebKitLibraries/win directory.
You need to wipe out the directory before building WinCairo.
> git clean -dfx WebKitLibraries/win

[1943/5974] Building CXX object Source\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\src\libANGLE\validationEGL.cpp.obj
FAILED: Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/validationEGL.cpp.obj
C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1431~1.311\bin\Hostx64\x64\cl.exe  /nologo /TP -DANGLE_ENABLE_D3D11 -DANGLE_ENABLE_D3D9 -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL -DANGLE_ENABLE_HLSL -DBUILDING_WITH_CMAKE=1 -DEGL_EGL_PROTOTYPES=0 -DGL_API="" -DGL_APICALL="" -DGL_GLES_PROTOTYPES=0 -DHAVE_CONFIG_H=1 -DLIBANGLE_IMPLEMENTATION -DNOCRYPT -DNOMINMAX -DPAS_BMALLOC=1 -DUNICODE -DWTF_PLATFORM_WIN_CAIRO=1 -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_UNICODE -D_WINDOWS -D_WINSOCKAPI_="" -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\include -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\include\KHR -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\src -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\src\common\third_party\base -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\third_party\zlib\google -IC:\home\webkit\gb\WebKitBuild\Debug\Source\ThirdParty\ANGLE\include -external:IC:\home\webkit\gb\WebKitLibraries\win\include -external:W0 /W4 /DWIN32 /D_WINDOWS  /GR- /EHs- /EHc-  /MD /Zi /Ob0 /Od /RTC1 /wd4018 /wd4060 /wd4068 /wd4100 /wd4127 /wd4146 /wd4189 /wd4201 /wd4244 /wd4245 /wd4251 /wd4275 /wd4267 /wd4305 /wd4309 /wd4312 /wd4324 /wd4389 /wd4456 /wd4457 /wd4458 /wd4459 /wd4505 /wd4611 /wd4646 /wd4701 /wd4702 /wd4706 /wd4715 /wd4722 /wd4838 /wd4840 /wd4996 /wd5205 /wd5054 /wd5055 /Zi /GS /EHa- /EHc- /EHs- /fp:except- /analyze- /bigobj -D_ENABLE_EXTENDED_ALIGNED_STORAGE /utf-8 /validate-charset /Zc:lambda -std:c++20 /showIncludes /FoSource\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\src\libANGLE\validationEGL.cpp.obj /FdSource\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\ANGLE.pdb /FS -c C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271): error C2065: 'PRIxPTR': undeclared identifier
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271): error C2143: syntax error: missing ';' before 'string'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271): error C2059: syntax error: ')'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671): error C2065: 'PRIxPTR': undeclared identifier
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671): error C2143: syntax error: missing ';' before 'string'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671): error C2059: syntax error: ')'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2065: 'PRIxPTR': undeclared identifier
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2143: syntax error: missing ';' before 'string'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2065: 'PRIxPTR': undeclared identifier
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2383): error C2143: syntax error: missing ';' before 'string'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2385): error C2059: syntax error: ')'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2065: 'PRIxPTR': undeclared identifier
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2143: syntax error: missing ';' before 'string'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2065: 'PRIxPTR': undeclared identifier
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2393): error C2143: syntax error: missing ';' before 'string'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2395): error C2059: syntax error: ')'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051): error C2065: 'PRIxPTR': undeclared identifier
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051): error C2059: syntax error: ')'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427): error C2065: 'PRIxPTR': undeclared identifier
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427): error C2143: syntax error: missing ';' before 'string'
C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427): error C2059: syntax error: ')'
[1944/5974] Generating ../../../ANGLE/Headers/ANGLE/entry_points_egl_ext_autogen.h
Comment 8 Fujii Hironori 2022-04-12 14:22:33 PDT
AppleWin's WebKitSupportLibrary.zip contains WebKitSupportLibrary/win/include/inttypes.h.
This header file is hiding the system's inttypes.h
Comment 9 April 2022-04-12 19:38:07 PDT
(In reply to Fujii Hironori from comment #6)
> I can't see the page
> 
> > 401 - Uh-oh, you do not have access.
> > The request requires authentication.
> > 4/12/2022 8:47:57 PM (UTC)
> > 2985bfb1-8a02-4e17-87ff-bf0ccc68c376
> 
> What is the known assertion bug?

When I build AppleWin and WinCairo separately, WinCairo also has the same Assertion bug as AppleWin:
F:\gitP\WebKit\webkit\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108): Assertion failed: templateId->Binding(), file d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c, line 16057 [when compiling F:\gitP\WebKit\webkit\build_amd64_AppleWin\DerivedSources\JavaScriptCore\unified-sources\UnifiedSource-f0a787a9-3.cpp]
    c1xx!assertfe()+0x106
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\debug.c Line 333
    c1xx!TemplateUtil::LookupTemplateId()+0x8a8
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c Line 16058
    c1xx!ParseTree::Utility::LookupTemplateId()+0x2c3
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\ParseTree.cpp Line 7710
    c1xx!IsDependentVisitor::Visit()+0x11c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1042
    c1xx!IsDependentVisitor::Visit()+0x127
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1993
    c1xx!ParseTree::Node::Accept<IsDependentVisitor>()+0x436
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\kind.dat Line 71
    c1xx!ParseTree::VisitDispatchHelper::VisitTemplateArgument<IsDependentVisitor>()+0x42
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\generic_visitor.h Line 118
    c1xx!IsDependentVisitor::Visit()+0x37
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 996
    c1xx!IsDependentVisitor::Visit()+0x74
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1018
    c1xx!IsDependentVisitor::Visit()+0x144
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 2033
    c1xx!IsDependentVisitor::Visit()+0x5c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 403
    c1xx!IsDependentVisitor::Visit()+0x17c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 772
    c1xx!ParseTree::Utility::IsDependent()+0x64
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 3290
    c1xx!Parser::CxxParser::ExpressionTail()+0x984
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 963
    c1xx!Parser::CxxParser::Expression()+0x5d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 711
    c1xx!Parser::CxxParser::AssignInitializerClause()+0x15d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 2266
    c1xx!Parser::CxxParser::InitializerOpt()+0x109
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15495
    c1xx!Parser::CxxParser::Initializer()+0xe
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15408
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::Initializer const *,`Parser::CxxParser::DeclarationCondition'::`2'::<lambda_3> >()+0x21c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::DeclarationCondition()+0x1b4
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13177
    c1xx!Parser::CxxParser::Condition()+0x10f
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13127
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::Condition const *,`Parser::CxxParser::IfStatement'::`2'::<lambda_1> >()+0x202
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::WhileStatement()+0x10d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13485
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::WhileStatement const *,`Parser::CxxParser::Statement'::`4'::<lambda_18> >()+0x9d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::Statement()+0x4a4
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 12894
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::Statement const *,`Parser::CxxParser::IfStatement'::`18'::<lambda_3> >()+0x202
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::StatementSeq()+0x159
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13235
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::StatementSeq const *,`Parser::CxxParser::CompoundStatement'::`5'::<lambda_1> >()+0x202
        d:\aUnifiedSource-bfc896e1-1.cpp
  01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::CompoundStatement()+0xb7
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13259
    c1xx!Parser::CxxParser::FunctionBody()+0x162
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 6690
    c1xx!`Parser::ParseDeferredSyntax'::`2'::DeferredBitsVisitor::Rewrite()+0x28b
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 18264
  UnifiedSource-bfc896e1-2.cpp
  F:\gitP\WebKit\webkit\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108): Assertion failed: templateId->Binding(), file d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c, line 16057 [when compiling F:\gitP\WebKit\webkit\build_amd64_AppleWin\DerivedSources\JavaScriptCore\unified-sources\UnifiedSource-f0a787a9-2.cpp]
  UnifiedSource-bfc896e1-3.cpp
    c1xx!assertfe()+0x106
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\debug.c Line 333
    c1xx!TemplateUtil::LookupTemplateId()+0x8a8
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c Line 16058
    c1xx!ParseTree::Utility::LookupTemplateId()+0x2c3
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\ParseTree.cpp Line 7710
    c1xx!IsDependentVisitor::Visit()+0x11c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1042
    c1xx!IsDependentVisitor::Visit()+0x127
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1993
    c1xx!ParseTree::Node::Accept<IsDependentVisitor>()+0x436
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\kind.dat Line 71
    c1xx!ParseTree::VisitDispatchHelper::VisitTemplateArgument<IsDependentVisitor>()+0x42
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\generic_visitor.h Line 118
    c1xx!IsDependentVisitor::Visit()+0x37
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 996
    c1xx!IsDependentVisitor::Visit()+0x74
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1018
    c1xx!IsDependentVisitor::Visit()+0x144
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 2033
    c1xx!IsDependentVisitor::Visit()+0x5c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 403
    c1xx!IsDependentVisitor::Visit()+0x17c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 772
    c1xx!ParseTree::Utility::IsDependent()+0x64
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 3290
    c1xx!Parser::CxxParser::ExpressionTail()+0x984
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 963
    c1xx!Parser::CxxParser::Expression()+0x5d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 711
    c1xx!Parser::CxxParser::AssignInitializerClause()+0x15d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 2266
    c1xx!Parser::CxxParser::InitializerOpt()+0x109
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15495
    c1xx!Parser::CxxParser::Initializer()+0xe
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15408
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::Initializer const *,`Parser::CxxParser::DeclarationCondition'::`2'::<lambda_3> >()+0x21c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::DeclarationCondition()+0x1b4
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13177
    c1xx!Parser::CxxParser::Condition()+0x10f
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13127
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::Condition const *,`Parser::CxxParser::IfStatement'::`2'::<lambda_1> >()+0x202
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::WhileStatement()+0x10d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13485
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::WhileStatement const *,`Parser::CxxParser::Statement'::`4'::<lambda_18> >()+0x9d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::Statement()+0x4a4
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 12894
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::Statement const *,`Parser::CxxParser::IfStatement'::`18'::<lambda_3> >()+0x202
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::StatementSeq()+0x159
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13235
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::StatementSeq const *,`Parser::CxxParser::CompoundStatement'::`5'::<lambda_1> >()+0x202
        d:\aUnifiedSource-bfc896e1-4.cpp
  01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::CompoundStatement()+0xb7
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13259
    c1xx!Parser::CxxParser::FunctionBody()+0x162
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 6690
    c1xx!`Parser::ParseDeferredSyntax'::`2'::DeferredBitsVisitor::Rewrite()+0x28b
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 18264
  UnifiedSource-bfc896e1-5.cpp
  F:\gitP\WebKit\webkit\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108): Assertion failed: templateId->Binding(), file d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c, line 16057 [when compiling F:\gitP\WebKit\webkit\build_amd64_AppleWin\DerivedSources\JavaScriptCore\unified-sources\UnifiedSource-f0a787a9-7.cpp]
    c1xx!assertfe()+0x106
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\debug.c Line 333
    c1xx!TemplateUtil::LookupTemplateId()+0x8a8
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c Line 16058
    c1xx!ParseTree::Utility::LookupTemplateId()+0x2c3
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\ParseTree.cpp Line 7710
    c1xx!IsDependentVisitor::Visit()+0x11c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1042
    c1xx!IsDependentVisitor::Visit()+0x127
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1993
    c1xx!ParseTree::Node::Accept<IsDependentVisitor>()+0x436
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\kind.dat Line 71
    c1xx!ParseTree::VisitDispatchHelper::VisitTemplateArgument<IsDependentVisitor>()+0x42
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\generic_visitor.h Line 118
    c1xx!IsDependentVisitor::Visit()+0x37
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 996
    c1xx!IsDependentVisitor::Visit()+0x74
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1018
    c1xx!IsDependentVisitor::Visit()+0x144
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 2033
    c1xx!IsDependentVisitor::Visit()+0x5c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 403
    c1xx!IsDependentVisitor::Visit()+0x17c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 772
    c1xx!ParseTree::Utility::IsDependent()+0x64
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 3290
    c1xx!Parser::CxxParser::ExpressionTail()+0x984
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 963
    c1xx!Parser::CxxParser::Expression()+0x5d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 711
    c1xx!Parser::CxxParser::AssignInitializerClause()+0x15d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 2266
    c1xx!Parser::CxxParser::InitializerOpt()+0x109
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15495
    c1xx!Parser::CxxParser::Initializer()+0xe
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15408
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::Initializer const *,`Parser::CxxParser::DeclarationCondition'::`2'::<lambda_3> >()+0x21c
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::DeclarationCondition()+0x1b4
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13177
    c1xx!Parser::CxxParser::Condition()+0x10f
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13127
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::Condition const *,`Parser::CxxParser::IfStatement'::`2'::<lambda_1> >()+0x202
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::WhileStatement()+0x10d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13485
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::WhileStatement const *,`Parser::CxxParser::Statement'::`4'::<lambda_18> >()+0x9d
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::Statement()+0x4a4
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 12894
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::Statement const *,`Parser::CxxParser::IfStatement'::`18'::<lambda_3> >()+0x202
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::StatementSeq()+0x159
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13235
    c1xx!Parser::CxxParser::parse_wrap<ParseTree::StatementSeq const *,`Parser::CxxParser::CompoundStatement'::`5'::<lambda_1> >()+0x202
        d:\aUnifiedSource-bfc896e1-6.cpp
  01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382
    c1xx!Parser::CxxParser::CompoundStatement()+0xb7
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13259
    c1xx!Parser::CxxParser::FunctionBody()+0x162
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 6690
    c1xx!`Parser::ParseDeferredSyntax'::`2'::DeferredBitsVisitor::Rewrite()+0x28b
        d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 18264
  DFGSpeculativeJIT.cpp
  DFGSpeculativeJIT32_64.cpp
  DFGSpeculativeJIT64.cpp
  UnifiedSource-bfc896e1-7.cpp
  UnifiedSource-bfc896e1-8.cpp
  UnifiedSource-bfc896e1-9.cpp
  UnifiedSource-3c3e0d8c-1.cpp
  UnifiedSource-48793971-1.cpp
  UnifiedSource-02aa2997-1.cpp
  FTLLowerDFGToB3.cpp
  UnifiedSource-02aa2997-2.cpp
  UnifiedSource-02aa2997-3.cpp
  UnifiedSource-ee8a7a7a-1.cpp
  UnifiedSource-ee8a7a7a-2.cpp
  UnifiedSource-ee8a7a7a-3.cpp
  UnifiedSource-ee8a7a7a-4.cpp
  UnifiedSource-ee8a7a7a-5.cpp
Comment 10 April 2022-04-12 19:39:25 PDT
(In reply to Fujii Hironori from comment #7)
> I can reproduce the compilation error of comment#0 by building WinCairo
> after building AppleWin without wiping out WebKitLibraries/win directory.
> You need to wipe out the directory before building WinCairo.
> > git clean -dfx WebKitLibraries/win
> 
> [1943/5974] Building CXX object
> Source\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\src\libANGLE\validationEGL.cpp.
> obj
> FAILED:
> Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/validationEGL.cpp.
> obj
> C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1431~1.
> 311\bin\Hostx64\x64\cl.exe  /nologo /TP -DANGLE_ENABLE_D3D11
> -DANGLE_ENABLE_D3D9 -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL
> -DANGLE_ENABLE_HLSL -DBUILDING_WITH_CMAKE=1 -DEGL_EGL_PROTOTYPES=0
> -DGL_API="" -DGL_APICALL="" -DGL_GLES_PROTOTYPES=0 -DHAVE_CONFIG_H=1
> -DLIBANGLE_IMPLEMENTATION -DNOCRYPT -DNOMINMAX -DPAS_BMALLOC=1 -DUNICODE
> -DWTF_PLATFORM_WIN_CAIRO=1 -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1
> -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_UNICODE -D_WINDOWS
> -D_WINSOCKAPI_="" -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\include
> -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\include\KHR
> -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\src
> -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\src\common\third_party\base
> -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\third_party\zlib\google
> -IC:\home\webkit\gb\WebKitBuild\Debug\Source\ThirdParty\ANGLE\include
> -external:IC:\home\webkit\gb\WebKitLibraries\win\include -external:W0 /W4
> /DWIN32 /D_WINDOWS  /GR- /EHs- /EHc-  /MD /Zi /Ob0 /Od /RTC1 /wd4018 /wd4060
> /wd4068 /wd4100 /wd4127 /wd4146 /wd4189 /wd4201 /wd4244 /wd4245 /wd4251
> /wd4275 /wd4267 /wd4305 /wd4309 /wd4312 /wd4324 /wd4389 /wd4456 /wd4457
> /wd4458 /wd4459 /wd4505 /wd4611 /wd4646 /wd4701 /wd4702 /wd4706 /wd4715
> /wd4722 /wd4838 /wd4840 /wd4996 /wd5205 /wd5054 /wd5055 /Zi /GS /EHa- /EHc-
> /EHs- /fp:except- /analyze- /bigobj -D_ENABLE_EXTENDED_ALIGNED_STORAGE
> /utf-8 /validate-charset /Zc:lambda -std:c++20 /showIncludes
> /FoSource\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\src\libANGLE\validationEGL.
> cpp.obj /FdSource\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\ANGLE.pdb /FS -c
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(271): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(271): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(271): error C2065: 'PRIxPTR': undeclared identifier
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(271): error C2143: syntax error: missing ';' before 'string'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(271): error C2059: syntax error: ')'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(1671): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(1671): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(1671): error C2065: 'PRIxPTR': undeclared identifier
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(1671): error C2143: syntax error: missing ';' before 'string'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(1671): error C2059: syntax error: ')'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2382): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2382): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2382): error C2065: 'PRIxPTR': undeclared identifier
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2382): error C2143: syntax error: missing ';' before 'string'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2382): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2382): error C2065: 'PRIxPTR': undeclared identifier
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2383): error C2143: syntax error: missing ';' before 'string'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2385): error C2059: syntax error: ')'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2392): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2392): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2392): error C2065: 'PRIxPTR': undeclared identifier
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2392): error C2143: syntax error: missing ';' before 'string'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2392): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2392): error C2065: 'PRIxPTR': undeclared identifier
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2393): error C2143: syntax error: missing ';' before 'string'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(2395): error C2059: syntax error: ')'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(3051): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(3051): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(3051): error C2065: 'PRIxPTR': undeclared identifier
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(3051): error C2059: syntax error: ')'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(3427): error C2146: syntax error: missing ')' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(3427): error C2146: syntax error: missing ';' before identifier 'PRIxPTR'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(3427): error C2065: 'PRIxPTR': undeclared identifier
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(3427): error C2143: syntax error: missing ';' before 'string'
> C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.
> cpp(3427): error C2059: syntax error: ')'
> [1944/5974] Generating
> ../../../ANGLE/Headers/ANGLE/entry_points_egl_ext_autogen.h

I will try this.
Comment 11 Fujii Hironori 2022-04-12 21:19:34 PDT
(In reply to April from comment #9)
> When I build AppleWin and WinCairo separately, WinCairo also has the same
> Assertion bug as AppleWin:
> F:\gitP\WebKit\webkit\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108):
> Assertion failed: templateId->Binding(), file

This is a MSVC bug, not a WebKit bug.
Report it to MSVC team.
Comment 12 April 2022-04-13 02:58:52 PDT
(In reply to Fujii Hironori from comment #11)
> (In reply to April from comment #9)
> > When I build AppleWin and WinCairo separately, WinCairo also has the same
> > Assertion bug as AppleWin:
> > F:\gitP\WebKit\webkit\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108):
> > Assertion failed: templateId->Binding(), file
> 
> This is a MSVC bug, not a WebKit bug.
> Report it to MSVC team.

OK, thanks.