Skip to content

Commit

Permalink
Update UsingWithClingROOT.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marty1885 committed Jul 31, 2019
1 parent 194f06c commit 43a95a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/UsingWithClingROOT.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Otherwise, loading the library can be simplifed:
[cling]$ #include <Etaler/Etaler.hpp>
```
The same solution works with ROOT too! Since ROOT by default turns on C++17 by default, the C++17 flags is not needed.
The same solution works with ROOT too! By default ROOT is compiled with C++11 only. You'll need to compile your own version of ROOT with C++17 enabled (by using `cmake -Dcxx17=ON`). Or you'll need to down load a version with C++17 enabled. Like the one in [Arch Linux's repo](https://www.archlinux.org/packages/community/x86_64/root/)
```c++
> root
------------------------------------------------------------
Expand Down Expand Up @@ -86,4 +86,4 @@ root [4] cout << t << endl;
{ 1, 1, 1},
{ 1, 1, 1}}
root [5]
```
```

0 comments on commit 43a95a4

Please sign in to comment.