We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5953058 commit 8d00731Copy full SHA for 8d00731
lib/Interpreter/CppInterOp.cpp
@@ -2463,6 +2463,10 @@ namespace Cpp {
2463
std::vector<const char *> ClingArgv = {"-resource-dir", ResourceDir.c_str(),
2464
"-std=c++14"};
2465
ClingArgv.insert(ClingArgv.begin(), MainExecutableName.c_str());
2466
+#ifdef _WIN32
2467
+ // FIXME : Workaround Sema::PushDeclContext assert on windows
2468
+ ClingArgv.push_back("-fno-delayed-template-parsing");
2469
+#endif
2470
ClingArgv.insert(ClingArgv.end(), Args.begin(), Args.end());
2471
// To keep the Interpreter creation interface between cling and clang-repl
2472
// to some extent compatible we should put Args and GpuArgs together. On the
0 commit comments