diff --git a/projects/rdc/src/header_template.hpp.in b/projects/rdc/src/header_template.hpp.in index 815155401e..9f1713f518 100644 --- a/projects/rdc/src/header_template.hpp.in +++ b/projects/rdc/src/header_template.hpp.in @@ -23,7 +23,7 @@ #define @include_guard@ #if defined(__GNUC__) -#warning "This file is deprecated. Use file from include path /opt/rocm-ver/include/ and include as rdc/@header_name@" +#error "This file is deprecated. Use file from include path /opt/rocm-ver/include/ and include as rdc/@header_name@" #else #pragma message("This file is deprecated. Use file from include path /opt/rocm-ver/include/ and include as rdc/@header_name@") #endif