From fcc36908327aefd3f1b8d0ae89837f70420a199f Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Wed, 12 Oct 2022 15:28:38 +0200 Subject: [PATCH] Added missing include of config.h in cpp files. --- ebos/eclinterregflows.cc | 4 ++++ opm/core/props/BlackoilPhases.cpp | 5 +++++ opm/core/props/phaseUsageFromDeck.cpp | 4 ++++ opm/simulators/flow/KeywordValidation.cpp | 4 ++++ opm/simulators/flow/ValidationFunctions.cpp | 3 +++ opm/simulators/linalg/bda/FPGAUtils.cpp | 4 ++++ opm/simulators/linalg/bda/Reorder.cpp | 4 ++++ opm/simulators/timestepping/AdaptiveSimulatorTimer.cpp | 4 ++++ opm/simulators/utils/ParallelFileMerger.cpp | 4 ++++ opm/simulators/utils/PartiallySupportedFlowKeywords.cpp | 4 ++++ opm/simulators/utils/UnsupportedFlowKeywords.cpp | 4 ++++ opm/simulators/utils/moduleVersion.cpp | 5 +++++ opm/simulators/wells/ALQState.cpp | 5 +++++ opm/simulators/wells/GlobalWellInfo.cpp | 5 +++++ opm/simulators/wells/GroupState.cpp | 4 ++++ opm/simulators/wells/PerfData.cpp | 4 ++++ opm/simulators/wells/SegmentState.cpp | 4 ++++ opm/simulators/wells/WGState.cpp | 4 ++++ opm/simulators/wells/WellProdIndexCalculator.cpp | 4 ++++ tests/test_ALQState.cpp | 4 ++++ tests/test_GroupState.cpp | 4 ++++ tests/test_keyword_validator.cpp | 4 ++++ tests/test_thresholdpressure.cpp | 4 ++++ 23 files changed, 95 insertions(+) diff --git a/ebos/eclinterregflows.cc b/ebos/eclinterregflows.cc index 3d902d354..9981107b3 100644 --- a/ebos/eclinterregflows.cc +++ b/ebos/eclinterregflows.cc @@ -19,6 +19,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/core/props/BlackoilPhases.cpp b/opm/core/props/BlackoilPhases.cpp index c75a0d1de..aab8ed8ee 100644 --- a/opm/core/props/BlackoilPhases.cpp +++ b/opm/core/props/BlackoilPhases.cpp @@ -16,6 +16,11 @@ You should have received a copy of the GNU General Public License along with OPM. If not, see . */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/core/props/phaseUsageFromDeck.cpp b/opm/core/props/phaseUsageFromDeck.cpp index fd72eb03c..e010b0b9a 100644 --- a/opm/core/props/phaseUsageFromDeck.cpp +++ b/opm/core/props/phaseUsageFromDeck.cpp @@ -18,6 +18,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/simulators/flow/KeywordValidation.cpp b/opm/simulators/flow/KeywordValidation.cpp index 2317353b3..d4d09297d 100644 --- a/opm/simulators/flow/KeywordValidation.cpp +++ b/opm/simulators/flow/KeywordValidation.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include #include diff --git a/opm/simulators/flow/ValidationFunctions.cpp b/opm/simulators/flow/ValidationFunctions.cpp index 00314173b..ebace44cf 100644 --- a/opm/simulators/flow/ValidationFunctions.cpp +++ b/opm/simulators/flow/ValidationFunctions.cpp @@ -17,6 +17,9 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H #include #include diff --git a/opm/simulators/linalg/bda/FPGAUtils.cpp b/opm/simulators/linalg/bda/FPGAUtils.cpp index 615efe72a..667a87e0b 100644 --- a/opm/simulators/linalg/bda/FPGAUtils.cpp +++ b/opm/simulators/linalg/bda/FPGAUtils.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/simulators/linalg/bda/Reorder.cpp b/opm/simulators/linalg/bda/Reorder.cpp index d46d2f303..cadbf96be 100644 --- a/opm/simulators/linalg/bda/Reorder.cpp +++ b/opm/simulators/linalg/bda/Reorder.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/simulators/timestepping/AdaptiveSimulatorTimer.cpp b/opm/simulators/timestepping/AdaptiveSimulatorTimer.cpp index ce0224c2e..aba06e85d 100644 --- a/opm/simulators/timestepping/AdaptiveSimulatorTimer.cpp +++ b/opm/simulators/timestepping/AdaptiveSimulatorTimer.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include #include diff --git a/opm/simulators/utils/ParallelFileMerger.cpp b/opm/simulators/utils/ParallelFileMerger.cpp index d302e6184..19b1b3f77 100644 --- a/opm/simulators/utils/ParallelFileMerger.cpp +++ b/opm/simulators/utils/ParallelFileMerger.cpp @@ -18,6 +18,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/simulators/utils/PartiallySupportedFlowKeywords.cpp b/opm/simulators/utils/PartiallySupportedFlowKeywords.cpp index 52f8af381..3960bd059 100644 --- a/opm/simulators/utils/PartiallySupportedFlowKeywords.cpp +++ b/opm/simulators/utils/PartiallySupportedFlowKeywords.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include using namespace Opm::KeywordValidation; diff --git a/opm/simulators/utils/UnsupportedFlowKeywords.cpp b/opm/simulators/utils/UnsupportedFlowKeywords.cpp index 58a144d11..9a7348469 100644 --- a/opm/simulators/utils/UnsupportedFlowKeywords.cpp +++ b/opm/simulators/utils/UnsupportedFlowKeywords.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include namespace Opm::FlowKeywordValidation diff --git a/opm/simulators/utils/moduleVersion.cpp b/opm/simulators/utils/moduleVersion.cpp index b6420f802..3d8d86b3a 100644 --- a/opm/simulators/utils/moduleVersion.cpp +++ b/opm/simulators/utils/moduleVersion.cpp @@ -17,6 +17,11 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + + #include #include "project-timestamp.h" #include "project-version.h" diff --git a/opm/simulators/wells/ALQState.cpp b/opm/simulators/wells/ALQState.cpp index 500b18edf..71c73285e 100644 --- a/opm/simulators/wells/ALQState.cpp +++ b/opm/simulators/wells/ALQState.cpp @@ -16,6 +16,11 @@ You should have received a copy of the GNU General Public License along with OPM. If not, see . */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/simulators/wells/GlobalWellInfo.cpp b/opm/simulators/wells/GlobalWellInfo.cpp index fc0e974ad..456c556e0 100644 --- a/opm/simulators/wells/GlobalWellInfo.cpp +++ b/opm/simulators/wells/GlobalWellInfo.cpp @@ -16,6 +16,11 @@ You should have received a copy of the GNU General Public License along with OPM. If not, see . */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/simulators/wells/GroupState.cpp b/opm/simulators/wells/GroupState.cpp index 0102b0b40..08303e6c7 100644 --- a/opm/simulators/wells/GroupState.cpp +++ b/opm/simulators/wells/GroupState.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/simulators/wells/PerfData.cpp b/opm/simulators/wells/PerfData.cpp index 955615ed7..435fd1f16 100644 --- a/opm/simulators/wells/PerfData.cpp +++ b/opm/simulators/wells/PerfData.cpp @@ -18,6 +18,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include namespace Opm diff --git a/opm/simulators/wells/SegmentState.cpp b/opm/simulators/wells/SegmentState.cpp index ca815d2e0..64ad5fea9 100644 --- a/opm/simulators/wells/SegmentState.cpp +++ b/opm/simulators/wells/SegmentState.cpp @@ -16,6 +16,10 @@ You should have received a copy of the GNU General Public License along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/simulators/wells/WGState.cpp b/opm/simulators/wells/WGState.cpp index 3160597ad..118666fea 100644 --- a/opm/simulators/wells/WGState.cpp +++ b/opm/simulators/wells/WGState.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/opm/simulators/wells/WellProdIndexCalculator.cpp b/opm/simulators/wells/WellProdIndexCalculator.cpp index a9fd4f39b..ca932dc4e 100644 --- a/opm/simulators/wells/WellProdIndexCalculator.cpp +++ b/opm/simulators/wells/WellProdIndexCalculator.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/tests/test_ALQState.cpp b/tests/test_ALQState.cpp index 48bc59968..bd1611f95 100644 --- a/tests/test_ALQState.cpp +++ b/tests/test_ALQState.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/tests/test_GroupState.cpp b/tests/test_GroupState.cpp index 2538bbca4..7a30c7c8b 100644 --- a/tests/test_GroupState.cpp +++ b/tests/test_GroupState.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/tests/test_keyword_validator.cpp b/tests/test_keyword_validator.cpp index a2555fbf4..dc6468a22 100644 --- a/tests/test_keyword_validator.cpp +++ b/tests/test_keyword_validator.cpp @@ -17,6 +17,10 @@ along with OPM. If not, see . */ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include diff --git a/tests/test_thresholdpressure.cpp b/tests/test_thresholdpressure.cpp index 582113eec..ea64213ef 100644 --- a/tests/test_thresholdpressure.cpp +++ b/tests/test_thresholdpressure.cpp @@ -1,3 +1,7 @@ +#if HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + #include #include #include