From 2a1407f46f87d667de248e168a29fcc385a49f93 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 8 Oct 2019 11:46:24 +0300 Subject: [PATCH] Roll-back to med-4.0.0 --- src/MEDWrapper/MED_Factory.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MEDWrapper/MED_Factory.cxx b/src/MEDWrapper/MED_Factory.cxx index d9c273b65..6f3e9a2c2 100644 --- a/src/MEDWrapper/MED_Factory.cxx +++ b/src/MEDWrapper/MED_Factory.cxx @@ -57,14 +57,14 @@ extern "C" // ******************************************************************************************************************* #define MED_MAJOR_EXPECTED 4 -#define MED_MINOR_EXPECTED 1 +#define MED_MINOR_EXPECTED 0 #if MED_MAJOR_NUM != MED_MAJOR_EXPECTED #error "MED major version does not correspond to the expected version, fix the minor and major compatibility values in CheckCompatibility method (MED_VERSIONS_APPEND_COMPATIBLE) and set the correct expected version (MED_MAJOR_EXPECTED, MED_MINOR_EXPECTED)" #endif #if MED_MINOR_NUM != MED_MINOR_EXPECTED #error "MED minor version does not correspond to the expected version, fix the minor and major compatibility values in CheckCompatibility method (MED_VERSIONS_APPEND_COMPATIBLE) and set the correct expected version above (MED_MAJOR_EXPECTED, MED_MINOR_EXPECTED)" #endif -#define MED_VERSIONS_APPEND_COMPATIBLE {41, 40, 32, 33} // --- 10*major + minor (the 3rd digit, release, is not used here, +#define MED_VERSIONS_APPEND_COMPATIBLE {40, 32, 33} // --- 10*major + minor (the 3rd digit, release, is not used here, // med uses always the latest available) // --- The first in the list should be the default: current version // --- empty med file content for the different MED versions with a different major.