Commit 7d15e9f
committed
Hide Boost includes from ROOT dictionary generator and Cling
__ROOTCLING__ is defined by both rootcling at compile time and by
Cling at runtime when it re-parses dictionary payloads. Boost headers
(odeint, phoenix) contain template machinery that breaks Cling's JIT
interpreter, corrupting the whole dictionary and causing unrelated
classes to fail. Guarding with #ifndef __ROOTCLING__ keeps the class
declaration visible for dictionary generation while hiding the
problematic Boost includes.1 parent 562ec82 commit 7d15e9f
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
0 commit comments