From ca12e32d7a34269d5cc40c2c698d265656240e39 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 11 Apr 2015 14:43:41 -0400 Subject: [PATCH] Update clang flags. This obeys the "fat note" convention. --- cmake/setup_compiler_flags_gnu.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5