From c93c9e5bfeff9d7fcf6cb8ab72a19939aaca5970 Mon Sep 17 00:00:00 2001 From: gongweibao Date: Mon, 2 Dec 2019 13:35:13 +0800 Subject: [PATCH] revert flags.cmake test=develop (#21437) --- cmake/flags.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/flags.cmake b/cmake/flags.cmake index 27ec2eca6bb..d67098e99e3 100644 --- a/cmake/flags.cmake +++ b/cmake/flags.cmake @@ -148,6 +148,7 @@ set(COMMON_FLAGS -Wno-unused-parameter -Wno-unused-function -Wno-error=literal-suffix + -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 @@ -182,6 +183,7 @@ set(GPU_COMMON_FLAGS -Wdelete-non-virtual-dtor -Wno-unused-parameter -Wno-unused-function + -Wno-error=sign-compare -Wno-error=literal-suffix -Wno-error=unused-local-typedefs -Wno-error=unused-function # Warnings in Numpy Header. -- GitLab