From: David Wells Date: Sat, 11 Apr 2015 18:43:41 +0000 (-0400) Subject: Update clang flags. X-Git-Tag: v8.3.0-rc1~278^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca12e32d7a34269d5cc40c2c698d265656240e39;p=dealii.git Update clang flags. This obeys the "fat note" convention. --- diff --git a/cmake/setup_compiler_flags_gnu.cmake b/cmake/setup_compiler_flags_gnu.cmake index 1505625edc..ed4f98a3b5 100644 --- a/cmake/setup_compiler_flags_gnu.cmake +++ b/cmake/setup_compiler_flags_gnu.cmake @@ -87,9 +87,9 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-deprecated-declarations") IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang") # - # Silence Clang warnings about unused parameters: + # Silence Clang warnings about unused parameters (mainly caused by BOOST): # - SET(DEAL_II_CXX_FLAGS "-Qunused-arguments ${DEAL_II_CXX_FLAGS}") + ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-unused-parameter") # # *Boy*, clang seems to be the very definition of "pedantic" in