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 
Message ID: 3141     Entry time: 25 Nov 2025     In reply to: 3133
Author: Konstantin Olchanski 
Topic: Info 
Subject: switch midas to c++17 
> target_compile_features(<target> PUBLIC cxx_std_17)
> which correctly causes a
> c++ -std=gnu++17 ...

I think this is set in a couple of places, yet I do not see any -std=xxx flag passed to the compiler.

(and I am not keen on spending a full day fighting cmake)

(btw, -std=c++17 and -std=gnu++17 are not the same thing, I am not sure how well GNU extensions are supported on 
macos)

K.O.
ELOG V3.1.4-2e1708b5