未验证 提交 7cc47a1d 编写于 作者: R risemeup1 提交者: GitHub

fix gcc12 compile problem (#49423)

上级 16986d6b
...@@ -149,6 +149,7 @@ if(NOT WIN32) ...@@ -149,6 +149,7 @@ if(NOT WIN32)
-Wno-unused-parameter -Wno-unused-parameter
-Wno-unused-function -Wno-unused-function
-Wno-error=literal-suffix -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=ignored-attributes # Warnings in Eigen, gcc 6.3
-Wno-error=terminate # Warning in PADDLE_ENFORCE -Wno-error=terminate # Warning in PADDLE_ENFORCE
-Wno-error=int-in-bool-context # Warning in Eigen gcc 7.2 -Wno-error=int-in-bool-context # Warning in Eigen gcc 7.2
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册