Skip to content

Fix Boost deprecation notes

Rosen Matev requested to merge rmatev-boost-deprecations into master

Use boost/timer/progress_display.hpp instead of boost/progress.hpp. Fixes deprecation notes from Boost such as

In file included from /cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.72.0-8f9a5/x86_64-centos7-gcc9-opt/include/boost/config/header_deprecated.hpp:18,
                 from /cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.72.0-8f9a5/x86_64-centos7-gcc9-opt/include/boost/progress.hpp:22,
                 from Kernel/LHCbMath/tests/TestLomontCPU.cpp:41:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.72.0-8f9a5/x86_64-centos7-gcc9-opt/include/boost/progress.hpp:23:1: note: #pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp> instead.
   23 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp>" )
      | ^~~~~~~~~~~~~~~~~~~~~~~
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.72.0-8f9a5/x86_64-centos7-gcc9-opt/include/boost/timer.hpp:21:1: note: #pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.
   21 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp>" )
      | ^~~~~~~~~~~~~~~~~~~~~~~

Merge request reports

Loading