Refactor third-party warning suppression.
Use header files from opm/core/utility/platform_dependent instead of build-system generated ones for suppressing warnings from dune or Eigen.
This commit is contained in:
parent
763c9de6ef
commit
1dd215834b
@ -30,7 +30,7 @@
|
||||
// the deprecated member anyway (in this compilation unit)
|
||||
#define DUNE_COMMON_FIELDVECTOR_SIZE_IS_METHOD 1
|
||||
|
||||
#include "disable_warning_pragmas.h"
|
||||
#include <opm/core/utility/platform_dependent/disable_warnings.h>
|
||||
|
||||
// TODO: clean up includes.
|
||||
#include <dune/common/deprecated.hh>
|
||||
@ -51,7 +51,7 @@
|
||||
#include <dune/istl/paamg/fastamg.hh>
|
||||
#endif
|
||||
|
||||
#include "reenable_warning_pragmas.h"
|
||||
#include <opm/core/utility/platform_dependent/reenable_warnings.h>
|
||||
|
||||
#include <stdexcept>
|
||||
#include <iostream>
|
||||
|
Loading…
Reference in New Issue
Block a user