diff --git a/cmake/flags.cmake b/cmake/flags.cmake index 724d8185ec3bc07a087bca0470e4365ac129f2fe..765bfefa427b64a2457b2355cd450f7bed367e38 100644 --- a/cmake/flags.cmake +++ b/cmake/flags.cmake @@ -149,6 +149,7 @@ if(NOT WIN32) -Wno-unused-parameter -Wno-unused-function -Wno-error=literal-suffix + -Wno-error=array-bounds #Warning in Eigen, gcc 12.2 -Wno-error=ignored-attributes # Warnings in Eigen, gcc 6.3 -Wno-error=terminate # Warning in PADDLE_ENFORCE -Wno-error=int-in-bool-context # Warning in Eigen gcc 7.2