Summary: | MS Visual C++ source incompatibility with C++20 | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | QuellaZhang <1998zhangyi> | ||||
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED CONFIGURATION CHANGED | ||||||
Severity: | Normal | CC: | ap, ddkilzer, Hironori.Fujii, jfbastien, lmoura, pvollan, sabouhallawa, simon.fraser, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | PC | ||||||
OS: | Windows 10 | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=233963 | ||||||
Bug Depends on: | 235023 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
QuellaZhang
2019-03-11 03:10:00 PDT
WebKit is using and supporting only C++14 at the moment. It seems this is a trivial fix and can be compatible with C++14. I think it is acceptable if you submit a proposed patch if you want to keep C++20 compil-ability. Sorry for the late. We have applied patches for WebKit to support /std:c++latest. Once WebKit is clean in our testing, I will add a comment on this issue. Unfortunately, there is still error C2440 in the later build, not sure if there will be more. Since C++20 raises at least 3 errors C2440, internal discussion, we will go back to using C++17. Please close this issue, thank you. WebKit is using and supporting only C++17 at the moment. https://webkit.org/languages/ https://trac.webkit.org/wiki/WebKitGTK/GCCRequirement It seems this is a trivial fix and can be compatible with C++17. I think it is acceptable if you submit a proposed patch and if you want to keep WebKit to be compiled in C++20. Cc Lauro FYI since he just landed a fix for Bug 235023. WebKit has migrated to C++20. I don't see these errors. Closed. Bug 233963 – Start using C++20 Bug 233448 – [CMake][MSVC] Compile with /permissive- |