Infrastructure #291: Code Structure NOV15
Switch to C++11
Actually CbmRoot can be compiled with the new C++11 standard. All code is already updated.
Don't allow compilers which do not support C++11. Here all needed tools are already present. We have some some code which can be only compiled using the new C++ standard. This code is now only compiled when the proper compiler is used.
Updated by Florian Uhlig about 7 years ago
- Status changed from Assigned to Feedback
- % Done changed from 0 to 50
This question is more a political then a technical one.
Do we want to force everybody to use a proper compiler. For example the standard compiler for Debian Squeeze (System at GSI batch farm) is to old. It is possible to install newer compiler versions beside the system one but I am not sure if we want to force people to do this.
Updated by Volker Friese about 7 years ago
- Due date set to 05/30/2015
This was discussed and decided in the Software Meeting of 26 February. We must of course ensure that all users will continue to be able to use CbmRoot. I have posted a news item accordingly (Switching to C++11); let us wait for reactions. The policy at GSI has to be inquired; as you said, Debian Squeeze will be phased out by the end of this year.
Updated by Pierre-Alain Loizeau almost 7 years ago
The version of Debian on the GSI batch farm and its submission nodes includes only GCC 4.4.5 by default, which is not C++11 compatible
To use cbmroot versions after revision cbmroot|r8122 on the GSI batch farm (and on the lxsub nodes with access to hera), please follow the instructions at https://redmine.cbm.gsi.de/projects/cbmroot/wiki/InstallCbmRootFarmC11