]> https://gitweb.dealii.org/ - dealii.git/commitdiff
silence boost warnings 9745/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 26 Mar 2020 21:53:30 +0000 (17:53 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 26 Mar 2020 21:58:03 +0000 (17:58 -0400)
include/deal.II/base/config.h.in
source/base/utilities.cc
source/dofs/dof_renumbering.cc

index b98b6a3f416e0a6a36c23f58b8aee161d171b61f..9aed8edef1e29c1a0ea1ec698cc46cd2b055b568 100644 (file)
@@ -375,6 +375,7 @@ _Pragma("GCC diagnostic ignored \"-Woverloaded-virtual\"")              \
 _Pragma("GCC diagnostic ignored \"-Wpedantic\"")                        \
 _Pragma("GCC diagnostic ignored \"-Wsuggest-override\"")                \
 _Pragma("GCC diagnostic ignored \"-Wtautological-constant-out-of-range-compare\"") \
+_Pragma("GCC diagnostic ignored \"-Wtautological-overlap-compare\"")    \
 _Pragma("GCC diagnostic ignored \"-Wtype-limits\"")                     \
 _Pragma("GCC diagnostic ignored \"-Wundef\"")                           \
 _Pragma("GCC diagnostic ignored \"-Wunused-but-set-parameter\"")        \
index 7f918ad5e4e1ca8b7b5f6d0dad7d148d522d48d2..998c383b57dd24ea5938d20ab718338de5356b6c 100644 (file)
 #include <deal.II/base/thread_local_storage.h>
 #include <deal.II/base/utilities.h>
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #include <boost/iostreams/copy.hpp>
 #include <boost/random.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 #include <algorithm>
 #include <bitset>
index 579d6e89fc7e81a856593810cade69154a1ffb2a..b70eb8fe1cb4ac4348b35893619bd143cc7f7465 100644 (file)
@@ -41,6 +41,7 @@
 
 #include <deal.II/multigrid/mg_tools.h>
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #include <boost/config.hpp>
 #include <boost/graph/adjacency_list.hpp>
 #include <boost/graph/bandwidth.hpp>
@@ -50,6 +51,7 @@
 #include <boost/graph/properties.hpp>
 #include <boost/random.hpp>
 #include <boost/random/uniform_int_distribution.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 #include <algorithm>
 #include <cmath>

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.