Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  08 Aug 2019, Konstantin Olchanski, Info, MIDAS will use C++11 
    Reply  16 Mar 2020, Konstantin Olchanski, Info, MIDAS will use C++11 
       Reply  16 Mar 2020, Pintaudi Giorgio, Info, MIDAS will use C++11 
Message ID: 1650     Entry time: 08 Aug 2019     Reply to this: 1852
Author: Konstantin Olchanski 
Topic: Info 
Subject: MIDAS will use C++11 
After much discussion, and following the MIDAS workshop at TRIUMF, we made the decision to use C++11 in MIDAS.

There are many benefits, and only one drawback - no c++11 compilers in the default OS install on older computers (i.e. 
RHEL/SL/CentOS before el7). (the same applies to our use of cmake).

Specifically for el6, the solution is to use c++11 compatible gcc-8 from devtoolset-8, see 
https://midas.triumf.ca/elog/Midas/1649

The c++11 features we most welcome - initialization of class members at declaration time (no more forgetting to add initialization to 
each and every constructor), c++ threads and mutexes, lambdas and "auto".

K.O.
ELOG V3.1.4-2e1708b5