Disable the __CUDACC__ macro definition with latest Visual Studio

Disable the silly workaround for cling not being able to parse the STL headers anymore after the update of Visual Studio v16.7.0. Works now with the upgrade of LLVM and Visual Studio 16.10.3.
This workaround had side effects when trying to use code supporting CUDA (e.g. boost) inside the interpreter.
This commit is contained in:
Bertrand Bellenot 2021-07-06 16:42:59 +02:00 committed by jenkins
parent 4f714ac55b
commit 901018c7fd

View File

@ -802,7 +802,7 @@ static void stringifyPreprocSetting(PreprocessorOptions& PPOpts,
PPOpts.addMacroDef("__CLING__GNUC_MINOR__=" ClingStringify(__GNUC_MINOR__));
#elif defined(_MSC_VER)
PPOpts.addMacroDef("__CLING__MSVC__=" ClingStringify(_MSC_VER));
#if (_MSC_VER >= 1926)
#if (_MSC_VER >= 1926 AND _MSC_VER <= 1928)
// FIXME: Silly workaround for cling not being able to parse the STL
// headers anymore after the update of Visual Studio v16.7.0
// To be checked/removed after the upgrade of LLVM & Clang