]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update clang flags.
authorDavid Wells <drwells@vt.edu>
Sat, 11 Apr 2015 18:43:41 +0000 (14:43 -0400)
committerMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Tue, 14 Apr 2015 10:50:19 +0000 (12:50 +0200)
This obeys the "fat note" convention.

cmake/setup_compiler_flags_gnu.cmake

index 1505625edcf39af1690a13de150fa7507fc4f834..ed4f98a3b590cc77a8ebe440bbc522c54a096420 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.