[webkit-dev] C++17 is here. Should we use it?

Konstantin Tokarev annulen at yandex.ru
Tue Apr 23 08:50:11 PDT 2019



20.04.2019, 01:16, "Alex Christensen" <achristensen at apple.com>:
> It’s always fun to reply to two year old emails.
>
> I would like to have a plan to start using and requiring C++17 in WebKit. Based on my minimal research, I believe that DebianBuster is frozen but not yet released. Is there something we are still waiting for, or could we begin making the switch?

[1] says: "we support each major Debian version until one year after the release of the next major version"

Given that Buster is not released yet, bumping GCC requirement to 7 seems to be premature.

OTOH, GCC 6 has partial support of C++17 [2,3] under -std=c++1z, which might be sufficient for now.

[1] https://trac.webkit.org/wiki/WebKitGTK/DependenciesPolicy
[2] https://gcc.gnu.org/projects/cxx-status.html#cxx17
[3] https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2017

-- 
Regards,
Konstantin



More information about the webkit-dev mailing list