From 5fcfdf2e95a095fb79ab24b08358087ca9dcb0f0 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 18 Jun 2020 10:32:23 -0400 Subject: [PATCH] work around clang10 warnings This fixes several Wdeprecated-copy warnings from tbb and some boost warnings. --- include/deal.II/base/parallel.h | 2 ++ source/grid/grid_tools.cc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/deal.II/base/parallel.h b/include/deal.II/base/parallel.h index 922ece42c6..9f039db234 100644 --- a/include/deal.II/base/parallel.h +++ b/include/deal.II/base/parallel.h @@ -30,10 +30,12 @@ #include #ifdef DEAL_II_WITH_TBB +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS # include # include # include # include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #endif diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index 535e1d4392..f8ba697951 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -54,8 +54,10 @@ #include #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include #include -- 2.39.5