From 4fcc656fd8ef942fcc55b591a171b6534914f65b Mon Sep 17 00:00:00 2001 From: Dominik Thoennes <dominik.thoennes@fau.de> Date: Mon, 23 Jan 2023 11:10:20 +0100 Subject: [PATCH] fix flag --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 49fc3e1e8..d2200a984 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -431,7 +431,7 @@ endif() # when e.g. compiling the GhostLayerCommTest. # Since this is most probably a bug in GCC disable the warning for now if( WALBERLA_CXX_COMPILER_IS_GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "12.0" ) - add_flag( CMAKE_CXX_FLAGS "-Wno-maybe-uninitialized" ) + add_flag( CMAKE_CXX_FLAGS "-Wno-array-bounds" ) endif() #fastmath -- GitLab