]> https://gitweb.dealii.org/ - dealii.git/commitdiff
suppress more warnings in external libs 2183/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 14 Feb 2016 13:47:14 +0000 (08:47 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sun, 14 Feb 2016 13:47:14 +0000 (08:47 -0500)
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

index f973af1e6ed7dd80c8296f1f11d2305839040480..98a31e89749e3d40aaaf8e13b08bb2b9f2c78a65 100644 (file)
@@ -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\"")     \

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.