Skip to content

Commit

Permalink
move -Wno-parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhei committed Dec 4, 2023
1 parent 70c5dc9 commit 9efb7f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions bundled/setup_bundled.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 0 additions & 3 deletions cmake/modules/FindDEAL_II_KOKKOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 9efb7f6

Please sign in to comment.