diff --git a/projects/clr/hipamd/header_template.hpp.in b/projects/clr/hipamd/header_template.hpp.in index 5ec051d50d..2a23abb164 100644 --- a/projects/clr/hipamd/header_template.hpp.in +++ b/projects/clr/hipamd/header_template.hpp.in @@ -23,7 +23,7 @@ #define @include_guard@ #if defined(__GNUC__) -#error "This file is deprecated. Use header files from HIP_PATH/include, where HIP_PATH corresponds to HIP install path" +#warning "This file is deprecated. Use header files from HIP_PATH/include, where HIP_PATH corresponds to HIP install path" #else #pragma message("This file is deprecated. Use header files from HIP_PATH/include, where HIP_PATH corresponds to HIP install path") #endif