[Webkit-unassigned] [Bug 238988] New: [WinCairo] When building WebKit WinCairo port failed to build due to errors C2146、 C2065、 C2143、 C2059 on windows with MSVC
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 8 01:34:06 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=238988
Bug ID: 238988
Summary: [WinCairo] When building WebKit WinCairo port failed
to build due to errors C2146、 C2065、 C2143、 C2059 on
windows with MSVC
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Windows 10
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: v-apriltan at microsoft.com
Created attachment 457029
--> https://bugs.webkit.org/attachment.cgi?id=457029&action=review
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.
--
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/20220408/fec7c01f/attachment.htm>
More information about the webkit-unassigned
mailing list