From: Timo Heister Date: Mon, 4 Dec 2023 14:08:15 +0000 (-0500) Subject: move -Wno-parentheses X-Git-Tag: relicensing~261^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16316%2Fhead;p=dealii.git move -Wno-parentheses --- diff --git a/bundled/setup_bundled.cmake b/bundled/setup_bundled.cmake index c9e9165c21..944ebd8d94 100644 --- a/bundled/setup_bundled.cmake +++ b/bundled/setup_bundled.cmake @@ -58,6 +58,7 @@ macro(feature_boost_configure_bundled) endif() enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-unused-local-typedefs") + enable_if_supported(DEAL_II_WARNING_FLAGS "-Wno-parentheses") list(APPEND DEAL_II_BUNDLED_INCLUDE_DIRS ${BOOST_FOLDER}/include) endmacro() diff --git a/cmake/modules/FindDEAL_II_KOKKOS.cmake b/cmake/modules/FindDEAL_II_KOKKOS.cmake index d41b590338..e39e93ea26 100644 --- a/cmake/modules/FindDEAL_II_KOKKOS.cmake +++ b/cmake/modules/FindDEAL_II_KOKKOS.cmake @@ -66,9 +66,6 @@ else() enable_if_supported(DEAL_II_CXX_FLAGS "-Xcudafe --diag_suppress=177") # warning #284-D: NULL reference is not allowed enable_if_supported(DEAL_II_CXX_FLAGS "-Xcudafe --diag_suppress=284") - # extra parentheses: - enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-parentheses") - endif() endif()