File reorg backward compatibility message changed to #error
Change-Id: I699dee834865ee573a516d58b8b8faa1da4f288a
[ROCm/ROCR-Runtime commit: 3636d487c9]
This commit is contained in:
@@ -48,11 +48,7 @@ function(create_header_template)
|
|||||||
#ifndef @include_guard@
|
#ifndef @include_guard@
|
||||||
#define @include_guard@
|
#define @include_guard@
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#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.\"
|
||||||
#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
|
|
||||||
@include_statements@
|
@include_statements@
|
||||||
|
|
||||||
#endif")
|
#endif")
|
||||||
|
|||||||
Reference in New Issue
Block a user