]> https://gitweb.dealii.org/ - dealii.git/commitdiff
work around clang10 warnings 10546/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 18 Jun 2020 14:32:23 +0000 (10:32 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 18 Jun 2020 14:32:23 +0000 (10:32 -0400)
This fixes several Wdeprecated-copy warnings from tbb and some boost warnings.

include/deal.II/base/parallel.h
source/grid/grid_tools.cc

index 922ece42c6933320220ffc39356f7ee136702801..9f039db23480d548bbb0cf9bd6ad0cfcd9628494 100644 (file)
 #include <tuple>
 
 #ifdef DEAL_II_WITH_TBB
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  include <tbb/blocked_range.h>
 #  include <tbb/parallel_for.h>
 #  include <tbb/parallel_reduce.h>
 #  include <tbb/partitioner.h>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 #endif
 
 
index 535e1d4392af6434c8e2c9355a98c0db8f6de27e..f8ba69795187b7597025b824e972e03a9c046fa0 100644 (file)
 #include <deal.II/numerics/matrix_tools.h>
 #include <deal.II/numerics/vector_tools_integrate_difference.h>
 
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #include <boost/random/mersenne_twister.hpp>
 #include <boost/random/uniform_real_distribution.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 #include <array>
 #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.