From: DUC ANH HOANG Date: Tue, 4 Feb 2020 14:50:10 +0000 (+0100) Subject: update for med 4.1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6781d7451ff1a93b8159df3b5d0ee6e68a6e184d;p=modules%2Fsmesh.git update for med 4.1 --- diff --git a/src/MEDWrapper/MED_Factory.cxx b/src/MEDWrapper/MED_Factory.cxx index 6f3e9a2c2..d9c273b65 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 0 +#define MED_MINOR_EXPECTED 1 #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 {40, 32, 33} // --- 10*major + minor (the 3rd digit, release, is not used here, +#define MED_VERSIONS_APPEND_COMPATIBLE {41, 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.