[Webkit-unassigned] [Bug 199108] New: [cmake] Switch to built-in handling of C++ standard instead of hardcoding -std=c++17

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 21 09:11:27 PDT 2019


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

            Bug ID: 199108
           Summary: [cmake] Switch to built-in handling of C++ standard
                    instead of hardcoding -std=c++17
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CMake
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: annulen at yandex.ru

Rationale:

1. It provides an abstraction over exact flags of particular compilers - we just specify required version of C++ standard
2. External libraries (like Qt used in WPEQt) may require particular C++ standard or even particular C++ features to be availabe (e.g. Qt requires INTERFACE_COMPILE_FEATURES cxx_decltype, which causes cmake to add -std=gnu++11 unless proper CXX_STANDARD is defined)

-- 
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/20190621/a9ac79ec/attachment.html>


More information about the webkit-unassigned mailing list