> Is this a designed feature of the deal.II CMake system?
To some extend, yes. Have a look at the output of detailed.log
Details can be found in cmake/setup_compiler_flags_gnu.cmake:
79 IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# [...]
92 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-unused-parameter")
93 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-unused-variable")
# [...]
100 IF(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "3.6")
101 #
102 # Clang versions prior to 3.6 emit a lot of false positives wrt
103 # "-Wunused-function".
104 #
105 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-unused-function")
106 ENDIF()
107 ENDIF()