Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Always preload ROOTDataFrame module
Signed-off-by: Jun Zhang <[email protected]>
  • Loading branch information
junaire committed Oct 23, 2022
commit 268296f2848064f9c721bd89f3739231909182c5
4 changes: 3 additions & 1 deletion core/metacling/src/TCling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,9 @@ static void RegisterCxxModules(cling::Interpreter &clingInterp)
// These modules should not be preloaded but they fix issues.
// FIXME: Hist is not a core module but is very entangled to MathCore and
// causes issues.
std::vector<std::string> FIXMEModules = {"Hist"};
// ROOTDataFrame is not a core module as well, but without it Clang reports
// some ODR related issues.
std::vector<std::string> FIXMEModules = {"Hist", "ROOTDataFrame"};
clang::CompilerInstance &CI = *clingInterp.getCI();
clang::Preprocessor &PP = CI.getPreprocessor();
ModuleMap &MMap = PP.getHeaderSearchInfo().getModuleMap();
Expand Down