Suppress warnings.

This commit is contained in:
Atgeirr Flø Rasmussen
2015-08-10 16:07:45 +02:00
parent 9c8460d471
commit 5216550cdf
7 changed files with 14 additions and 10 deletions

View File

@@ -19,6 +19,9 @@
*/
#ifndef OPM_DUNEISTLTESTHELPERS_HEADER
#define OPM_DUNEISTLTESTHELPERS_HEADER
#include <opm/core/utility/platform_dependent/disable_warnings.h>
// MPI header
#if HAVE_MPI
#include <mpi.h>
@@ -26,8 +29,6 @@
#error "This file needs to compiled with MPI support!"
#endif
#include <opm/core/utility/platform_dependent/disable_warnings.h>
#include <dune/common/version.hh>
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 3)
#include <dune/common/parallel/mpicollectivecommunication.hh>

View File

@@ -25,7 +25,10 @@
#define NVERBOSE // to suppress our messages when throwing
#define BOOST_TEST_MODULE AnisotropicEikonalTest
#include <opm/core/utility/platform_dependent/disable_warnings.h>
#include <boost/test/unit_test.hpp>
#include <opm/core/utility/platform_dependent/reenable_warnings.h>
#include <opm/core/flowdiagnostics/AnisotropicEikonal.hpp>
#include <opm/core/grid/GridManager.hpp>

View File

@@ -29,9 +29,7 @@
// MPI header
#if HAVE_MPI
#include <mpi.h>
#include <dune/common/version.hh>
#include <opm/core/linalg/ParallelIstlInformation.hpp>
#else
#error "This file needs to compiled with MPI support!"

View File

@@ -28,11 +28,6 @@
#define BOOST_TEST_MODULE OPM-ParallelIstlInformation
#include <boost/test/unit_test.hpp>
#if HAVE_MPI
#include <mpi.h>
#else
#error "This file needs to compiled with MPI support!"
#endif
#include "DuneIstlTestHelpers.hpp"
#include <opm/core/linalg/ParallelIstlInformation.hpp>
#include <functional>

View File

@@ -8,7 +8,9 @@
#define NVERBOSE // to suppress our messages when throwing
#define BOOST_TEST_MODULE ShadowTest
#include <opm/core/utility/platform_dependent/disable_warnings.h>
#include <boost/test/unit_test.hpp>
#include <opm/core/utility/platform_dependent/reenable_warnings.h>
#include <opm/core/utility/parameters/ParameterGroup.hpp>
#include <opm/core/props/IncompPropertiesBasic.hpp>