[ROOT-6802] Disable by default CLING dynamic extension in named macro Created: 08/Oct/14 Updated: 18/Nov/14 Resolved: 18/Nov/14
|Fix Version/s:||6.04.00, 6.02/02|
|Reporter:||Lorenzo Moneta||Assignee:||Axel Naumann|
Dynamic extensions don't work properly and produces a lots of crashes which compromise the usability of ROOT 6.
auto h1 = new TH1D("h1","h1",nbins,0,1);
which crashes in ROOT,if you do before
root> .dynamicExtensions 0
you get a clean error message
ROOT_prompt_1:1:30: error: use of undeclared identifier 'nbins'
We could discuss the support of them in un-named macro for some backward compatibility issues, but in named macro we don't need this feature.