[webkit-dev] Using C++20 in WebKit

Alex Christensen achristensen at apple.com
Wed Jan 5 19:43:10 PST 2022

I, with great help from several of you, got https://bugs.webkit.org/show_bug.cgi?id=233963 <https://bugs.webkit.org/show_bug.cgi?id=233963> compiling on all platforms, but several of the JSC bots are still red.  I’m under the impression that they either need a clean build or I’ve missed something.  Could a JSC bot maintainer look into it?

> On Dec 7, 2021, at 2:38 PM, Carlos Alberto Lopez Perez via webkit-dev <webkit-dev at lists.webkit.org> wrote:
> On 06/12/2021 22:36, Yusuke Suzuki via webkit-dev wrote:
>> I recently upgraded GCC requirement to 8.3.0 based
>> on https://trac.webkit.org/wiki/WebKitGTK/GCCRequirement
>> <https://trac.webkit.org/wiki/WebKitGTK/GCCRequirement> (https://trac.webkit.org/changeset/283348/webkit
>> <https://trac.webkit.org/changeset/283348/webkit>)
>> As a result, we can use some of C++20 features.
>> I wonder if we can flip C++20 now. While some of C++20 features cannot
>> be used since GCC 8.3.0 does not support, but some of features can be
>> used, and it is super useful.
> From the PoV of WebKitGTK I think it is Ok to enable now the building
> with C++-20 support and to start using the C++-20 features already
> supported by GCC 8.3.0
> Check here: https://gcc.gnu.org/projects/cxx-status.html which C++-20
> features are supported by GCC 8
> Before using them I think it would be a good idea to double-check if
> those are also supported by the minimum version of Clang that we want to
> support.
> And maybe also to check if those are supported by MS Visual C++ ?
> I say maybe because I'm not sure if we support this compiler.
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20220105/4e30491e/attachment.htm>

More information about the webkit-dev mailing list