From 1ff8eae7be7ba6d4e643d2aeb9f076b7d1ccc6a5 Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Wed, 8 Feb 2023 15:06:29 -0800 Subject: [PATCH] File reorg backward compatibility message changed to #error Change-Id: I699dee834865ee573a516d58b8b8faa1da4f288a [ROCm/ROCR-Runtime commit: 3636d487c97716600354b019197ff72c050a2f77] --- .../runtime/hsa-runtime/hsa-backward-compat.cmake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/hsa-backward-compat.cmake b/projects/rocr-runtime/runtime/hsa-runtime/hsa-backward-compat.cmake index 0f6e34cc61..10fc5d3b95 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/hsa-backward-compat.cmake +++ b/projects/rocr-runtime/runtime/hsa-runtime/hsa-backward-compat.cmake @@ -48,11 +48,7 @@ function(create_header_template) #ifndef @include_guard@ #define @include_guard@ -#if defined(_MSC_VER) -#pragma message(\"@file_name@ has moved to @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/hsa and package include paths have changed.\\nInclude as \\\"hsa/@file_name@\\\" when using cmake packages.\") -#elif defined(__GNUC__) -#warning \"@file_name@ has moved to @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/hsa and package include paths have changed.\\nInclude as \\\"hsa/@file_name@\\\" when using cmake packages.\" -#endif +#error \"@file_name@ has moved to @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/hsa and package include paths have changed.\\nInclude as \\\"hsa/@file_name@\\\" when using cmake packages.\" @include_statements@ #endif")