Disable the deprecation warning in <thrust/detail/config/compiler_fence.h> because
it breaks nvGRAPH and CUSP.
Bug
MODIFY
thrust/detail/config/compiler_fence.h
thrust/detail/config/compiler_fence.h
#include <thrust/detail/config.h>
#include <thrust/detail/preprocessor.h>
-#if THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_MSVC
- #pragma message("warning: The functionality in this header is unsafe, deprecated, and will soon be removed. Use C++11 or C11 atomics instead.")
-#else
- #warning The functionality in this header is unsafe, deprecated, and will soon be removed. Use C++11 or C11 atomics instead.
-#endif
+// TODO: Enable this or remove this file once nvGRAPH/CUSP migrates off of it.
+//#if THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_MSVC
+// #pragma message("warning: The functionality in this header is unsafe, deprecated, and will soon be removed. Use C++11 or C11 atomics instead.")
+//#else
+// #warning The functionality in this header is unsafe, deprecated, and will soon be removed. Use C++11 or C11 atomics instead.
+//#endif
// msvc case
#if THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_MSVC

Disable the deprecation warning in <thrust/detail/config/compiler_fence.h> because
it breaks nvGRAPH and CUSP.

Bug 2379510