[Mesa-dev] [Bug 111458] g++: error: unrecognized command line option ‘-std=c++14’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 21 18:22:22 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111458

            Bug ID: 111458
           Summary: g++: error: unrecognized command line option
                    ‘-std=c++14’
           Product: Mesa
           Version: 19.2
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Keywords: bisected, regression
          Severity: not set
          Priority: not set
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: kai at dev.carbon-project.org

Build error with GCC 4.8 and older LLVM.

  Compiling src/gallium/auxiliary/gallivm/lp_bld_debug.cpp ...
g++: error: unrecognized command line option ‘-std=c++14’


commit 1abe87383e1529a14498d70a0cf445728b9c338d
Author: Kai Wasserbäch <kai at dev.carbon-project.org>
Date:   Sat Aug 17 10:59:43 2019 +0200

    build: Bump C++ standard requirement to C++14 to fix FTBFS with LLVM 10

    When building Mesa against a recent LLVM 10 with C++11, the build fails
    if the AMD common code is built as well due to "std::index_sequence"
    being undeclared.

    LLVM requires a minimum of C++14.

    Signed-off-by: Kai Wasserbäch <kai at dev.carbon-project.org>
    Acked-by: Eric Engestrom <eric at engestrom.ch>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190821/a2e5d04d/attachment.html>


More information about the mesa-dev mailing list