diff --git a/cmake/iree_aie_rt.cmake b/cmake/iree_aie_rt.cmake index 96b9791d2..cf80c6f13 100644 --- a/cmake/iree_aie_rt.cmake +++ b/cmake/iree_aie_rt.cmake @@ -255,8 +255,21 @@ set_target_properties( target_compile_definitions(xaiengine PRIVATE ${XAIE_DEBUG} __AIECDO__ XAIE_FEATURE_ALL) if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU") set(xaiengine_c_warning_ignores + -Wno-cast-qual + -Wno-documentation + -Wno-extra-semi-stmt + -Wno-format-pedantic + -Wno-gnu-binary-literal + -Wno-gnu-zero-variadic-macro-arguments + -Wno-implicit-int-conversion + -Wno-incompatible-pointer-types + -Wno-missing-prototypes + -Wno-missing-variable-declarations + -Wno-reserved-identifier + -Wno-reserved-macro-identifier + -Wno-unsafe-buffer-usage -Wno-unused-but-set-variable - -Wno-incompatible-pointer-types) + -Wno-unused-macros) target_compile_options(xaiengine PRIVATE ${xaiengine_c_warning_ignores}) endif() # For