Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  22 Sep 2025, Konstantin Olchanski, Info, switch midas to c++17 
    Reply  23 Sep 2025, Pavel Murat, Info, switch midas to c++17 
       Reply  23 Sep 2025, Konstantin Olchanski, Info, switch midas to c++17 
          Reply  23 Sep 2025, Pavel Murat, Info, switch midas to c++17 
    Reply  06 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17 
       Reply  20 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17 
          Reply  20 Nov 2025, Nick Hastings, Info, switch midas to c++17 
             Reply  25 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17 
          Reply  24 Nov 2025, Stefan Ritt, Info, switch midas to c++17 
             Reply  25 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17 
                Reply  26 Nov 2025, Stefan Ritt, Info, switch midas to c++17 
                   Reply  27 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17 
Message ID: 3154     Entry time: 27 Nov 2025     In reply to: 3144
Author: Konstantin Olchanski 
Topic: Info 
Subject: switch midas to c++17 
> 
>   set(CMAKE_CXX_STANDARD 17)
>   set(CMAKE_CXX_STANDARD_REQUIRED ON)
>   set(CMAKE_CXX_EXTENSIONS OFF)   # optional: disables GNU extensions
> 

Looks like it works, I see -std=c++17 everywhere. Added same to manalyzer and mscb (mscb was still c++11).

Build on U-20 works (g++ accepts -std=c++17), build on CentOS-7 bombs, cmake 3.17.5 does not know CXX17.

K.O.
ELOG V3.1.4-2e1708b5