diff --git a/openmp/libomptarget/src/rtl.h b/openmp/libomptarget/src/rtl.h --- a/openmp/libomptarget/src/rtl.h +++ b/openmp/libomptarget/src/rtl.h @@ -13,6 +13,7 @@ #ifndef _OMPTARGET_RTL_H #define _OMPTARGET_RTL_H +#include "omptarget.h" #include #include #include @@ -121,9 +122,9 @@ // binaries. std::vector UsedRTLs; - int64_t RequiresFlags; + int64_t RequiresFlags = OMP_REQ_UNDEFINED; - explicit RTLsTy() {} + explicit RTLsTy() = default; // Register the clauses of the requires directive. void RegisterRequires(int64_t flags);