mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Suppress warnings.
This commit is contained in:
parent
9c8460d471
commit
5216550cdf
@ -25,6 +25,8 @@
|
||||
#include <set>
|
||||
#include <map>
|
||||
|
||||
#include <opm/core/utility/platform_dependent/disable_warnings.h>
|
||||
|
||||
#include <boost/version.hpp>
|
||||
|
||||
#define BOOST_HEAP_AVAILABLE ((BOOST_VERSION / 100 % 1000) >= 49)
|
||||
@ -33,6 +35,9 @@
|
||||
#include <boost/heap/fibonacci_heap.hpp>
|
||||
#endif
|
||||
|
||||
#include <opm/core/utility/platform_dependent/reenable_warnings.h>
|
||||
|
||||
|
||||
struct UnstructuredGrid;
|
||||
|
||||
namespace Opm
|
||||
|
@ -28,9 +28,9 @@
|
||||
#include <exception>
|
||||
|
||||
#if HAVE_MPI && HAVE_DUNE_ISTL
|
||||
#include <mpi.h>
|
||||
|
||||
#include <opm/core/utility/platform_dependent/disable_warnings.h>
|
||||
#include <mpi.h>
|
||||
#include <dune/istl/owneroverlapcopy.hh>
|
||||
#include <dune/common/parallel/interface.hh>
|
||||
#include <dune/common/parallel/communicator.hh>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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!"
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user