Skip to content

Commit a344315

Browse files
committed
Make the output of #12783 test the same on Windows
1 parent 460cd30 commit a344315

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

root/io/uniquePointer/privacyLoad.C

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
int privacyLoad() {
22
gSystem->Load("privacy");
33

4+
// On Windows <fstream> leads to a forward declaration of
5+
// std::filesystem::path and since we do not generate a dictonary for that
6+
// class, there is also no autoparsing. This leads to a state that is
7+
// different from the state in other platform and incurred an additional
8+
// spurrious:
9+
// ```Warning in <TClass::Init>: no dictionary for class filesystem::path is available```
10+
// (due to the forward declaration only state).
11+
gInterpreter->Declare("#include <filesystem>");
12+
413
const char *names[] = {
514
"test",
615
"test1",

0 commit comments

Comments
 (0)