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@lists.freedesktop.org
Reporter: v...@freedesktop.org
QA Contact: mesa-dev@lists.freedesktop.org
CC: k...@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 <k...@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 <k...@dev.carbon-project.org>
Acked-by: Eric Engestrom <e...@engestrom.ch>
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev