Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  13 Jan 2020, Peter Kunz, Forum, cmake complie issues 
    Reply  13 Jan 2020, Konstantin Olchanski, Forum, cmake complie issues 
       Reply  13 Jan 2020, Peter Kunz, Forum, cmake complie issues 
          Reply  13 Jan 2020, Konstantin Olchanski, Forum, cmake complie issues 
          Reply  14 Jan 2020, Stefan Ritt, Forum, cmake complie issues 
       Reply  14 Jan 2020, Stefan Ritt, Forum, cmake complie issues 
    Reply  16 Jan 2020, Konstantin Olchanski, Forum, cmake complie issues, Fedora 31 ROOT? 
       Reply  17 Jan 2020, Lukas Gerritzen, Forum, cmake complie issues, Fedora 31 ROOT? 
          Reply  17 Jan 2020, Stefan Ritt, Forum, cmake complie issues, Fedora 31 ROOT? 
          Reply  17 Jan 2020, Konstantin Olchanski, Forum, cmake complie issues, Fedora 31 ROOT? 
          Reply  17 Jan 2020, Konstantin Olchanski, Forum, cmake complie issues, Fedora 31 ROOT? 
Message ID: 1785     Entry time: 17 Jan 2020     In reply to: 1784
Author: Stefan Ritt 
Topic: Forum 
Subject: cmake complie issues, Fedora 31 ROOT? 
> > In any case, we are setup for an eventual collision between MIDAS CFLAGS (-std=gnu++11) and ROOT CFLAGS (-std=something else).
> 
> Are there good reasons to not compile MIDAS with set(CMAKE_CXX_STANDARD 14)? So far this was an easier "fix" for me than to recompile ROOT with c++11.

Yes. We agreed to base MIDAS on C++11, not C++14, since C++11 is available on all relevant systems. By putting that requirement explicitly into the CMake file, we know that it 
correctly compiles with C++11. Of course feel free to overwrite this in your local installation.

Stefan
ELOG V3.1.4-2e1708b5