Skip to content

Commit

Permalink
Silence negators deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-sobolev committed Feb 17, 2025
1 parent 7b0ba90 commit e73191c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/oneapi/dpl/pstl/onedpl_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,4 +346,9 @@
# define _ONEDPL_BUILT_IN_STABLE_NAME_PRESENT __has_builtin(__builtin_sycl_unique_stable_name)
#endif // _ONEDPL_BACKEND_SYCL
// Silence the deprecation warnings for the negators injected in <oneapi/dpl/functional>
#if _ONEDPL___cplusplus < 202002L && defined(_MSC_VER) && !defined(_SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING)
# define _SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING
#endif
#endif // _ONEDPL_CONFIG_H

0 comments on commit e73191c

Please sign in to comment.