From a89060ac2a8cc74e6d048e501b290f1b631b20a2 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Wed, 15 Jun 2022 15:11:33 +0800 Subject: [PATCH] revert -Wno-error=maybe-uninitialized (#43511) --- cmake/flags.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/flags.cmake b/cmake/flags.cmake index 41a7b4a9d1..eb451dbf86 100644 --- a/cmake/flags.cmake +++ b/cmake/flags.cmake @@ -154,6 +154,7 @@ if(NOT WIN32) -Wno-error=terminate # Warning in PADDLE_ENFORCE -Wno-error=int-in-bool-context # Warning in Eigen gcc 7.2 -Wimplicit-fallthrough=0 # Warning in tinyformat.h + -Wno-error=maybe-uninitialized # Warning in boost gcc 7.2 ${fsanitize}) if(WITH_IPU) -- GitLab