[Webkit-unassigned] [Bug 187744] New: Switch CMake ports back to C++ 14

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 17 18:36:06 PDT 2018


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

            Bug ID: 187744
           Summary: Switch CMake ports back to C++ 14
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: bugs-noreply at webkitgtk.org, jfbastien at apple.com

A few months ago, we switched CMake ports from C++ 14 to C++ 17. There have been some problems. Notably, we have not yet addressed the situation with std::optional. Misuse of std::optional that causes a runtime crash on GTK/WPE, when built with GCC 7 or 8, is still just a debug assert on Mac, bug #187669. This has been an ongoing problem for several months. I propose switching back to C++ 14 until this is resolved.

It's also worth pointing out that stuck supporting the GCC 5 libstdc++ for the foreseeable future, even though we require GCC 6 for actually compiling WebKit. This severely limits the benefit of using C++ 17 since we can't rely on any of the standard library features.

-- 
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/20180718/bfc5504f/attachment.html>


More information about the webkit-unassigned mailing list