File reorg backward compatibility message changed to #error

Change-Id: I699dee834865ee573a516d58b8b8faa1da4f288a


[ROCm/ROCR-Runtime commit: 3636d487c9]
Tento commit je obsažen v:
Ranjith Ramakrishnan committed 2023-02-14 21:46:43 -08:00
1 rodič ff620e9fdc
revize 1ff8eae7be
1 file changed
+1 -5
+1 -5
Zobrazit soubor
@@ -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")