Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/creduce: add crutch for using libc++ 14 with clang++ 8
C-Reduce still depends on devel/llvm80, and this is no longer compatible with libc++ 14 or higher, since libc++ now requires support for the __builtin_is_constant_evaluated() builtin function (see llvm/llvm-project@1123100 ). As a crutch, add a small header which defines a constexpr __builtin_is_constant_evaluated() function, and include that at the top of every compiled file, using -include, whenever the base system clang version is 14 or higher. Approved by: swills (maintainer) MFH: 2022Q1
- Loading branch information