From 8679ca98aa0a86ebc4e0444b75659eca3d4c4c73 Mon Sep 17 00:00:00 2001 From: Tao Sang Date: Tue, 19 Jan 2021 12:18:01 -0500 Subject: [PATCH] SWDEV-268757 - Disable deprecation warning Disable it as it will fail rocgdb test Change-Id: Ibf34c780d5bd4278adcedba1d6e057639c258483 [ROCm/hip commit: 30820b131e69f17c6f45c86d89a89e4987833839] --- projects/hip/include/hip/hip_runtime.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/hip/include/hip/hip_runtime.h b/projects/hip/include/hip/hip_runtime.h index 90a349c6ec..e989eaa28e 100644 --- a/projects/hip/include/hip/hip_runtime.h +++ b/projects/hip/include/hip/hip_runtime.h @@ -65,7 +65,8 @@ THE SOFTWARE. #endif // The following are deprecation notices. -// They will be removed after upstream updation. +// They will be removed after upstream updation +#if 0 // Temporarily disable deprecation warning as it will fail rocgdb test #if defined(__clang__) //The following work for clang rather than for gnu gcc/g++/c++ #pragma GCC diagnostic push @@ -104,6 +105,7 @@ THE SOFTWARE. #pragma message ("__HIP_PLATFORM_NVCC_ is deprecated, please use __HIP_PLATFORM_NVIDIA__ instead") #endif #endif // defined(__clang__) +#endif #include #include