From: Matthias Maier Date: Mon, 22 Jan 2024 00:38:59 +0000 (-0600) Subject: CMake: remove -Wno-assume for now X-Git-Tag: relicensing~122^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=177bebf9324075b6d278c62881b62a8a090fde65;p=dealii.git CMake: remove -Wno-assume for now --- diff --git a/cmake/setup_compiler_flags_gnu.cmake b/cmake/setup_compiler_flags_gnu.cmake index b0b50be901..dbc82ade86 100644 --- a/cmake/setup_compiler_flags_gnu.cmake +++ b/cmake/setup_compiler_flags_gnu.cmake @@ -176,12 +176,6 @@ if (CMAKE_BUILD_TYPE MATCHES "Release") # mode. # enable_if_supported(DEAL_II_CXX_FLAGS_RELEASE "-Wno-unused-local-typedefs") - - # - # We are using __builtin_assume in Assert in Release mode and the compiler is - # warning about ignored side effects which we don't care about. - # - enable_if_supported(DEAL_II_CXX_FLAGS_RELEASE "-Wno-assume") endif()