g++: error: unrecognized command line option ‘-std=c++14’
Submitted by Vinson Lee
Assigned to mes..@..op.org
Link to original bug (#111458)
Description
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 1abe8738 Author: Kai Wasserbäch kai@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@dev.carbon-project.org>
Acked-by: Eric Engestrom <eric@engestrom.ch>
Version: 19.2