]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: remove -Wno-assume for now 16513/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 22 Jan 2024 00:38:59 +0000 (18:38 -0600)
committerMatthias Maier <tamiko@43-1.org>
Mon, 22 Jan 2024 00:38:59 +0000 (18:38 -0600)
cmake/setup_compiler_flags_gnu.cmake

index b0b50be901aca878ca2ae00af14ebc92724f5a35..dbc82ade86abc10c27ff69e5292f3d340edb32b0 100644 (file)
@@ -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()
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.