]> https://gitweb.dealii.org/ - dealii.git/commitdiff
suppress muelu warnings 1206/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 27 Jul 2015 21:40:59 +0000 (17:40 -0400)
committerTimo Heister <timo.heister@gmail.com>
Mon, 27 Jul 2015 21:40:59 +0000 (17:40 -0400)
Disable extra diagnostic Wunused-but-set-variable when including
trilinos to avoid muelu warning.

cmake/checks/check_01_compiler_features.cmake
include/deal.II/base/config.h.in

index cdc60ca6c8076f74fff6b2af884653f21ea14118..52b885223e2fb04497ef7d556c19260b7facf6be 100644 (file)
@@ -31,6 +31,7 @@
 #   DEAL_II_COMPILER_HAS_ATTRIBUTE_PRETTY_FUNCTION
 #   DEAL_II_COMPILER_HAS_ATTRIBUTE_DEPRECATED
 #   DEAL_II_DEPRECATED
+#   DEAL_II_COMPILER_HAS_DIAGNOSTIC_PRAGMA
 #
 
 
index dc538c70876fea0298f615790421d5a4294fd5a9..09fbfb319ceb746d7e006ebf116f3441a12f6cf3 100644 (file)
@@ -302,6 +302,7 @@ _Pragma("GCC diagnostic ignored \"-Wunused-but-set-parameter\"") \
 _Pragma("GCC diagnostic ignored \"-Wnested-anon-types\"")        \
 _Pragma("GCC diagnostic ignored \"-Wunused-private-field\"")     \
 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")  \
+_Pragma("GCC diagnostic ignored \"-Wunused-but-set-variable\"")  \
 _Pragma("GCC diagnostic warning \"-Wpragmas\"")
 
 #  define DEAL_II_ENABLE_EXTRA_DIAGNOSTICS                       \

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.