Closed shaferandrew closed 1 year ago
Whoops, thanks for pointing that out! I'll get a fix out asap
Can you pull the newest version of master and let me know if it fixes the issue?
@jdeans289 The latest commit on master (479171f5), fixes this issue on my development machine and our CI/CD system.
Thanks!
Hello,
Compiling the latest trick on Ubuntu 20.04 with LLVM 10 produces the following error message:
In this block, it checks to see if
LIBCLANG_MAJOR >= 10
and then attempts to use a member called "CPlusPlus20", defined in the LLVM Clang header (https://github.com/llvm/llvm-project/blame/main/clang/include/clang/Basic/LangOptions.def#L99). But in the LangOptions.def file for LLVM 10.0.0, that option is still labeled with the legacy "CPlusPlus2a" (https://github.com/llvm/llvm-project/blame/1e1f5eb7c978da3b062daaf3c32c459704e65a55/clang/include/clang/Basic/LangOptions.def#L94)Most of that LLVM conversion work was done in this commit: https://github.com/llvm/llvm-project/commit/6a30894391ca671bab16c505eff30c7819bd8e8e, and included in LLVM 11.0.0 RC1.
I think that an additional macro is needed to use "CPlusPlus2a" for
LIBCLANG_MAJOR = 10
and to use "CPlusPlus20" for versions >= 11.