From: Timo Heister Date: Thu, 26 Mar 2020 21:53:30 +0000 (-0400) Subject: silence boost warnings X-Git-Tag: v9.2.0-rc1~357^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=229e6326ac1d684f8040de79a8b94bca3a5da826;p=dealii.git silence boost warnings --- diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index b98b6a3f41..9aed8edef1 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -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\"") \ diff --git a/source/base/utilities.cc b/source/base/utilities.cc index 7f918ad5e4..998c383b57 100644 --- a/source/base/utilities.cc +++ b/source/base/utilities.cc @@ -28,8 +28,10 @@ #include #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include #include diff --git a/source/dofs/dof_renumbering.cc b/source/dofs/dof_renumbering.cc index 579d6e89fc..b70eb8fe1c 100644 --- a/source/dofs/dof_renumbering.cc +++ b/source/dofs/dof_renumbering.cc @@ -41,6 +41,7 @@ #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include #include #include @@ -50,6 +51,7 @@ #include #include #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include #include