oneapi-src / level-zero-tests

oneAPI Level Zero Conformance & Performance test content
https://spec.oneapi.com/versions/latest/elements/l0/source/index.html
MIT License
47 stars 40 forks source link

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

Open eero-t opened 1 year ago

eero-t commented 1 year ago

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 commented 1 year ago

This is still happening with the latest version.