]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable warnings in zoltan_cpp.h. 5808/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 26 Jan 2018 15:15:37 +0000 (08:15 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 26 Jan 2018 15:15:37 +0000 (08:15 -0700)
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.

source/base/mpi.cc

index 97ff462e2f8367c8d50a14aa282e095076295611..bb44ba494b36cc4ab492a809ecafd70c284bed6a 100644 (file)
@@ -50,7 +50,9 @@
 #endif
 
 #ifdef DEAL_II_TRILINOS_WITH_ZOLTAN
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #   include <zoltan_cpp.h>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 #endif
 
 DEAL_II_NAMESPACE_OPEN

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.