From: Timo Heister Date: Thu, 18 Jun 2020 14:32:23 +0000 (-0400) Subject: work around clang10 warnings X-Git-Tag: v9.3.0-rc1~1422^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fcfdf2e95a095fb79ab24b08358087ca9dcb0f0;p=dealii.git work around clang10 warnings This fixes several Wdeprecated-copy warnings from tbb and some boost warnings. --- 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