From: Lei Qiao Date: Wed, 13 May 2015 00:27:59 +0000 (-0500) Subject: silence warning triggered by trilinos X-Git-Tag: v8.3.0-rc1~167^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08fe34878b068bdf70992a158782950460d1ed0b;p=dealii.git silence warning triggered by trilinos --- diff --git a/examples/step-33/step-33.cc b/examples/step-33/step-33.cc index 991cb80db0..8b9004ad20 100644 --- a/examples/step-33/step-33.cc +++ b/examples/step-33/step-33.cc @@ -69,8 +69,13 @@ // Sacado is the automatic differentiation package within Trilinos, which is // used to find the Jacobian for a fully implicit Newton iteration: +// Trilinos::Sacado (at least until version 11.10.2) package will trigger +// warnings when compiling this file. Since we are not responsible for this, +// we just suppress the warning by wrapping the #include +// directive into a pair of macros that simply suppress these warnings: +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include - +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS // And this again is C++: #include