From 3b0b04102dd3572719a9df2e45afa4db1aeea03c Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 27 Jul 2015 17:40:59 -0400 Subject: [PATCH] suppress muelu warnings Disable extra diagnostic Wunused-but-set-variable when including trilinos to avoid muelu warning. --- cmake/checks/check_01_compiler_features.cmake | 1 + include/deal.II/base/config.h.in | 1 + 2 files changed, 2 insertions(+) diff --git a/cmake/checks/check_01_compiler_features.cmake b/cmake/checks/check_01_compiler_features.cmake index cdc60ca6c8..52b885223e 100644 --- a/cmake/checks/check_01_compiler_features.cmake +++ b/cmake/checks/check_01_compiler_features.cmake @@ -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 # diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index dc538c7087..09fbfb319c 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -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 \ -- 2.39.5