[all-commits] [llvm/llvm-project] 6283d4: Workaround build error for mingw-g++
ldrumm via All-commits
all-commits at lists.llvm.org
Thu Oct 7 10:36:15 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6283d468e28b35e2731dda1a9e0efcb3d9acf557
https://github.com/llvm/llvm-project/commit/6283d468e28b35e2731dda1a9e0efcb3d9acf557
Author: Luke Drummond <luke.drummond at codeplay.com>
Date: 2021-10-07 (Thu, 07 Oct 2021)
Changed paths:
M clang/lib/Interpreter/Interpreter.cpp
Log Message:
-----------
Workaround build error for mingw-g++
mingw-g++ does not correctly support the full `std::errc` namespace as
worded in the standard[1]. As such, we cannot reliably use all names
therein. This patch changes the use of
`std::errc::state_not_recoverable`, to use portable error codes from the
`llvm::errc` equivalent.
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71444
Reviewed by v.g.vassilev
Differential Revision: https://reviews.llvm.org/D111315
More information about the All-commits
mailing list