Hi,
is there a way to enable C++11 support in the cling interpreter integrated with ROOT-6, like “-std=c++11” for standalone cling?
I know I can make the root interpreter accept C++11 by configuring ROOT with “–with-clang --enable-cxx11”. However this is not the case for the official SLC6 binaries. Also, configuring ROOT like that forces “-std=c++11” on all other external code compiled with it via “root-config --cflags” - something not to be done lightly.
Would it be possible to have a C++11 option for the ROOT interpreter, so one could use C++11 in scripts even when ROOT and external code linking against it are not build with clang and in C++11 mode? I just ask because using a standalone “cling -std=c++11” console with a plain old GCC-compiled ROOT-5 seems to work quite well.
Cheers,
Oliver