Skip to content

Commit

Permalink
Make the output of #12783 test the same on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pcanal committed Oct 31, 2023
1 parent 460cd30 commit a344315
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions root/io/uniquePointer/privacyLoad.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
int privacyLoad() {
gSystem->Load("privacy");

// On Windows <fstream> leads to a forward declaration of
// std::filesystem::path and since we do not generate a dictonary for that
// class, there is also no autoparsing. This leads to a state that is
// different from the state in other platform and incurred an additional
// spurrious:
// ```Warning in <TClass::Init>: no dictionary for class filesystem::path is available```
// (due to the forward declaration only state).
gInterpreter->Declare("#include <filesystem>");

const char *names[] = {
"test",
"test1",
Expand Down

0 comments on commit a344315

Please sign in to comment.