level-zero-tests icon indicating copy to clipboard operation
level-zero-tests copied to clipboard

perf_tests/cl_image_copy/src/utils.cpp build outputs several compiler deprecation warnings

Open eero-t opened this issue 2 years ago • 1 comments

Perf tests build on Ubuntu 22.04 outputs several warnings about this:

In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/include/boost/program_options/options_description.hpp:16,
                 from /usr/include/boost/program_options.hpp:15,
                 from /home/nobody/source/level-zero-tests/perf_tests/cl_image_copy/include/cl_image_copy.h:21,
                 from /home/nobody/source/level-zero-tests/perf_tests/cl_image_copy/src/utils.cpp:9:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~

eero-t avatar Nov 25 '22 15:11 eero-t

This is still happening with the latest version.

eero-t avatar Mar 10 '23 11:03 eero-t