Replace the __CUDACC__ preprocessor macro by _HAS_CONDITIONAL_EXPLICIT=0
The `__CUDACC__` preprocessor define macro is not needed anymore (thanks to Axel), but the `_HAS_CONDITIONAL_EXPLICIT=0` one still is.
This commit is contained in:
parent
8d5ab809ec
commit
95ab06f44d
@ -802,11 +802,11 @@ 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 && _MSC_VER <= 1928)
|
||||
#if (_MSC_VER >= 1926)
|
||||
// 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
|
||||
PPOpts.addMacroDef("__CUDACC__");
|
||||
PPOpts.addMacroDef("_HAS_CONDITIONAL_EXPLICIT=0");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user