diff --git a/CMakeLists.txt b/CMakeLists.txt index 49fc3e1e8e7f3badb84dbefd831932063f320b7f..d2200a98404c11adc692a53461ba40ef12f7e81f 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