From 4da3e2941ea7d29e7c7977af2c6fb4383e77cf51 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Thu, 4 Feb 2021 21:48:15 +0000 Subject: [PATCH] Disable warnings before including boost header --- include/deal.II/dofs/dof_accessor.h | 2 ++ include/deal.II/grid/tria_accessor.h | 2 ++ source/base/tensor_product_polynomials.cc | 2 ++ source/fe/fe_values.cc | 2 ++ source/fe/mapping_fe.cc | 2 ++ source/fe/mapping_q_generic.cc | 2 ++ source/grid/manifold.cc | 2 ++ source/grid/manifold_lib.cc | 2 ++ source/lac/trilinos_sparse_matrix.cc | 2 ++ 9 files changed, 18 insertions(+) diff --git a/include/deal.II/dofs/dof_accessor.h b/include/deal.II/dofs/dof_accessor.h index 081f1bbd64..33dd27d460 100644 --- a/include/deal.II/dofs/dof_accessor.h +++ b/include/deal.II/dofs/dof_accessor.h @@ -26,7 +26,9 @@ #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include diff --git a/include/deal.II/grid/tria_accessor.h b/include/deal.II/grid/tria_accessor.h index 4b48fa4494..9944941a50 100644 --- a/include/deal.II/grid/tria_accessor.h +++ b/include/deal.II/grid/tria_accessor.h @@ -29,7 +29,9 @@ #include #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include diff --git a/source/base/tensor_product_polynomials.cc b/source/base/tensor_product_polynomials.cc index 1b84ed7cac..ac9a0a8af6 100644 --- a/source/base/tensor_product_polynomials.cc +++ b/source/base/tensor_product_polynomials.cc @@ -19,7 +19,9 @@ #include #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include #include diff --git a/source/fe/fe_values.cc b/source/fe/fe_values.cc index 3990c02888..18249c9e84 100644 --- a/source/fe/fe_values.cc +++ b/source/fe/fe_values.cc @@ -44,7 +44,9 @@ #include #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include #include diff --git a/source/fe/mapping_fe.cc b/source/fe/mapping_fe.cc index 7f6adef6a5..365de25c12 100644 --- a/source/fe/mapping_fe.cc +++ b/source/fe/mapping_fe.cc @@ -34,7 +34,9 @@ #include #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include #include diff --git a/source/fe/mapping_q_generic.cc b/source/fe/mapping_q_generic.cc index 0f90658d45..f7beb9d0b4 100644 --- a/source/fe/mapping_q_generic.cc +++ b/source/fe/mapping_q_generic.cc @@ -34,7 +34,9 @@ #include #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include #include diff --git a/source/grid/manifold.cc b/source/grid/manifold.cc index 7e1c46d797..619f085740 100644 --- a/source/grid/manifold.cc +++ b/source/grid/manifold.cc @@ -23,7 +23,9 @@ #include #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include #include diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index 37d8606af5..6af79bb1e0 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -26,7 +26,9 @@ #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include #include diff --git a/source/lac/trilinos_sparse_matrix.cc b/source/lac/trilinos_sparse_matrix.cc index 41263d5b07..0167dfc8b7 100644 --- a/source/lac/trilinos_sparse_matrix.cc +++ b/source/lac/trilinos_sparse_matrix.cc @@ -28,7 +28,9 @@ # include # include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS # include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS # ifdef DEAL_II_TRILINOS_WITH_EPETRAEXT # include -- 2.39.5