[Webkit-unassigned] [Bug 203801] New: WebKit failed to build due to error C2039 on windows with MSVC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 3 23:40:37 PST 2019


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

            Bug ID: 203801
           Summary: WebKit failed to build due to error C2039 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: 1998zhangyi at gmail.com

Created attachment 382720

  --> https://bugs.webkit.org/attachment.cgi?id=382720&action=review

log_x64_build

Environment:
VS 2017 + Windows Server 2016

Issue description:
We tried to build WebKit using VS2017 on Windows Server 2016. WebKit failed to build due to error C2039: 'deref': is not a member of 'WebCore::ServiceWorkerContainer::jobResolvedWithRegistration::<lambda_15d02b0ed0ed8a019a7c5a8c399d9636>' on windows with MSVC. It can be reproduced on master branch 88f6a9f commit.Could you please help take a look at this? Thanks in advance!

Repro steps:
1. git clone https://github.com/WebKit/webkit d:\WebKit\src
2. open a VS 2017 x64 command prompt as admin and browse to D:\Webkit
3. extra WebKitSupportLibrary\win to D:\WebKit\src\WebKitLibraries\win
4. extra WebKitAuxiliaryLibrary\win to D:\WebKit\src\WebKitLibraries\win
5. mkdir build_x64 && pushd build_x64
6. cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSHOW_BINDINGS_GENERATION_PROGRESS=1 -DDEVELOPER_MODE=ON -DENABLE_EXPERIMENTAL_FEATURES=ON -DCMAKE_SYSTEM_VERSION=10.0.17134.0 -DPORT="WinCairo" -DRUBY_LIBRARY=C:\Ruby25-x64\lib ..\src
7. msbuild /p:Configuration=Release;Platform=x64 WebKit.sln /t:Rebuild

Actual result:
D:\WebKit\build_x64\WTF\Headers\wtf/Ref.h(60): error C2039: 'deref': is not a member of 'WebCore::ServiceWorkerContainer::jobResolvedWithRegistration::<lambda_15d02b0ed0ed8a019a7c5a8c399d9636>' (compiling source file D:\WebKit\build_x64\WebCore\DerivedSources\unified-sources\UnifiedSource-f74e0903-3.cpp) [D:\WebKit\build_x64\Source\WebCore\WebCore.vcxproj]

-- 
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/20191104/9479ac64/attachment.htm>


More information about the webkit-unassigned mailing list