Skip to content

Commit

Permalink
Enable deprecation warnings in user plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
gassmoeller committed Oct 28, 2024
1 parent 3cf0899 commit 5d8c4b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/AspectConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ macro(ASPECT_SETUP_PLUGIN _target)
message(STATUS " name <${_target}>")
message(STATUS " using ASPECT_DIR ${Aspect_DIR}")

# deal.II versions >=9.5 disable deprecation warnings in user code. Enable
# the warnings again by removing the flag that disables them.
string(REPLACE "-Wno-deprecated-declarations" "" DEAL_II_WARNING_FLAGS "${DEAL_II_WARNING_FLAGS}")

# We create lib${_target}.debug.so, lib${_target}.release.so, or both
# depending on the compilation mode of ASPECT. Note that the user already
# created the target under the name ${_target}, so we only need to create
Expand Down

0 comments on commit 5d8c4b0

Please sign in to comment.