From edaf6a97aeb42c5b7218ee60cd656dc64eb2e17b Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 11 Feb 2016 08:33:58 -0500 Subject: [PATCH] silence boost warnings in step-53 deprecated warning about boost_trait_def.hpp when using boost 1.60 --- examples/step-53/step-53.cc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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 -- 2.39.5