From: Wolfgang Bangerth Date: Fri, 26 Jan 2018 15:15:37 +0000 (-0700) Subject: Disable warnings in zoltan_cpp.h. X-Git-Tag: v9.0.0-rc1~516^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d36dca47f0543bf745412cedb8b4401ecd427017;p=dealii.git Disable warnings in zoltan_cpp.h. Without this, we get warnings of the kind /home/bangerth/bin/trilinos-12.8.1-mpi/include/zoltan_cpp.h:181:24: warning: unused parameter ‘iperm’ [-Wunused-parameter] int * iperm ) ^~~~~ We already do a similar thing in sparsity_tools.cc, the only other places where we include zoltan_cpp.h. --- diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 97ff462e2f..bb44ba494b 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -50,7 +50,9 @@ #endif #ifdef DEAL_II_TRILINOS_WITH_ZOLTAN +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS # include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #endif DEAL_II_NAMESPACE_OPEN