From 149eb8236331966eb663ae4538c7532fb7d923b4 Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Wed, 8 Feb 2023 14:24:56 -0800 Subject: [PATCH] SWDEV-366831 - File reorg backward compatibility message changed to #error Change-Id: I3d3b220b31f42140eab5404df790a130d2c238c4 [ROCm/amdsmi commit: 02141a7f1d8a7227ad9783aabd04a12b1723caa0] --- projects/amdsmi/rocm_smi-backward-compat.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/amdsmi/rocm_smi-backward-compat.cmake b/projects/amdsmi/rocm_smi-backward-compat.cmake index c5c40da29c..5f89f2e7f5 100644 --- a/projects/amdsmi/rocm_smi-backward-compat.cmake +++ b/projects/amdsmi/rocm_smi-backward-compat.cmake @@ -63,7 +63,7 @@ function(create_header_template) #define @include_guard@ #if defined(__GNUC__) -#warning \"This file is deprecated. Use file from include path /opt/rocm-ver/include/ and prefix with @prefix_name@\" +#error \"This file is deprecated. Use file from include path /opt/rocm-ver/include/ and prefix with @prefix_name@\" #else #pragma message(\"This file is deprecated. Use file from include path /opt/rocm-ver/include/ and prefix with @prefix_name@\") #endif