I’ve been trying to compile Cling with c++17 (as opposed to the default 14) with Windows SDK version 10.0.19041.0 to target Windows 10.0.18363 (msvc 2019) via
cmake -DCMAKE_BUILD_TYPE=RELEASE -Thost=x64 -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_FLAGS="/std:c++17" -DLLVM_TARGETS_TO_BUILD="X86;NVPTX" ..\llvm
following the instructions here https://root.cern.ch/cling-build-instructions … After making a couple changes in (STLExtras.h for example) it’ll compile; however, although Clang 5 ‘support’ c++17, it seems like std::any etc weren’t introduced into LLVM until 7.0. I was trying to compile Cling with current (10) LLVM & Clang, but that gives a ton of errors. Is there any documentation as to what exactly is changed in clang to make it compatible with Cling? I tried running a file diff after doing cling-patches, but it was a lot … so figured I’d ask if anyone had any suggestions or something I missed. Thanks!