Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  20 Mar 2025, Konstantin Olchanski, Bug Report, please fix compiler warning 
    Reply  21 Mar 2025, Stefan Ritt, Bug Report, please fix compiler warning 
       Reply  25 Mar 2025, Konstantin Olchanski, Bug Report, please fix compiler warning 
Message ID: 2965     Entry time: 20 Mar 2025     Reply to this: 2985
Author: Konstantin Olchanski 
Topic: Bug Report 
Subject: please fix compiler warning 
Unnamed person who added this clever bit of c++ coding, please fix this compiler warning. Stock g++ on Ubuntu LTS 24.04. Thanks in advance!

/home/olchansk/git/midas/src/system.cxx: In function ‘std::string ss_execs(const char*)’:
/home/olchansk/git/midas/src/system.cxx:2256:43: warning: ignoring attributes on template argument ‘int (*)(FILE*)’ [-Wignored-attributes]
 2256 |    std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd, "r"), pclose);

K.O.
ELOG V3.1.4-2e1708b5