Fix compile error for gcc 6.3 (#6112)

release/0.11.0
Yu Yang 8 years ago committed by GitHub
parent 6dc5b34e5b
commit 3a8311f819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -111,6 +111,8 @@ set(COMMON_FLAGS
-Wno-error=sign-compare
-Wno-error=unused-local-typedefs
-Wno-error=parentheses-equality # Warnings in pybind11
-Wno-error=ignored-attributes # Warnings in Eigen, gcc 6.3
-Wno-error=terminate # Warning in PADDLE_ENFORCE
)
set(GPU_COMMON_FLAGS

Loading…
Cancel
Save