From: Timo Heister Date: Thu, 11 Feb 2016 13:33:58 +0000 (-0500) Subject: silence boost warnings in step-53 X-Git-Tag: v8.5.0-rc1~1325^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bfc01e1d49874ed24e4eca758704292e4bcdcc8;p=dealii.git silence boost warnings in step-53 deprecated warning about boost_trait_def.hpp when using boost 1.60 --- diff --git a/examples/step-53/step-53.cc b/examples/step-53/step-53.cc index 2b73c4273b..157bf74429 100644 --- a/examples/step-53/step-53.cc +++ b/examples/step-53/step-53.cc @@ -35,16 +35,20 @@ #include // The remainder of the include files relate to reading the topography data. -// As explained in the introduction, we will read it from a file and then -// use the Functions::InterpolatedUniformGridData class that is declared in the -// first of the following header files. Because the data is large, the file -// we read from is stored as gzip compressed data and we make use of -// some BOOST-provided functionality to read directly from gzipped data. +// As explained in the introduction, we will read it from a file and then use +// the Functions::InterpolatedUniformGridData class that is declared in the +// first of the following header files. Because the data is large, the file we +// read from is stored as gzip compressed data and we make use of some +// BOOST-provided functionality to read directly from gzipped data. We wrap +// the BOOST includes with a preprocessor macro that disables certain annoying +// compiler warnings. #include +DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include #include #include +DEAL_II_ENABLE_EXTRA_DIAGNOSTICS #include #include