From 2168f575459595be9821245d9eb994235920c7bb Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 14 Feb 2016 08:47:14 -0500 Subject: [PATCH] suppress more warnings in external libs this suppresses: /ssd/libs-candi/trilinos-12.4.2-Source/include/Amesos2_Superludist_FunctionMap.hpp:285:17: warning: comparison of constant 67 with expression of type 'SLUD::DiagScale_t' is always false [-Wtautological-constant-out-of-range-compare] char eq = AMESOS2_SLUD_GET_EQUED(*equed); and /ssd/libs-candi/trilinos-12.4.2-Source/include/Tpetra_Experimental_BlockCrsMatrix_def.hpp:2826:3: warning: all paths through this function will call itself [-Winfinite-recursion] --- include/deal.II/base/config.h.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index f973af1e6e..98a31e8974 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -284,6 +284,8 @@ _Pragma("GCC diagnostic ignored \"-Wunused-function\"") \ _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \ _Pragma("GCC diagnostic ignored \"-Wunused-variable\"") \ _Pragma("GCC diagnostic ignored \"-Wtype-limits\"") \ +_Pragma("GCC diagnostic ignored \"-Wtautological-constant-out-of-range-compare\"") \ +_Pragma("GCC diagnostic ignored \"-Winfinite-recursion\"") \ _Pragma("GCC diagnostic ignored \"-Wunused-but-set-parameter\"") \ _Pragma("GCC diagnostic ignored \"-Wnested-anon-types\"") \ _Pragma("GCC diagnostic ignored \"-Wunused-private-field\"") \ -- 2.39.5