string aValue = aStr.str();
// PAL19785,0019867 - med forbids whitespace to be the last char in the name
int maxSize;
-// if ( theWrapper->GetVersion() == MED::eV2_1 )
-// maxSize = MED::GetNOMLength<MED::eV2_1>();
-// else
+ if ( theWrapper->GetVersion() == MED::eV2_1 )
+ maxSize = MED::GetNOMLength<MED::eV2_1>();
+ else
maxSize = MED::GetNOMLength<MED::eV2_2>();
int lastCharPos = min( maxSize, (int) aValue.size() ) - 1;
while ( isspace( aValue[ lastCharPos ] ))
libMeshDriverMED_la_LDFLAGS = \
$(BOOST_LIBS) \
../Driver/libMeshDriver.la \
- $(MED_LDFLAGS) -lMEDWrapper -lMEDWrapperBase -lMEDWrapper_V2_2
+ $(MED_LDFLAGS) -lMEDWrapper -lMEDWrapperBase -lMEDWrapper_V2_2 -lMEDWrapper_V2_1
MED_Test_CPPFLAGS = \
$(MED_LDFLAGS) \
-lMEDWrapper \
-lMEDWrapperBase \
- -lMEDWrapper_V2_2
+ -lMEDWrapper_V2_2 \
+ -lMEDWrapper_V2_1
$(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeNS -lOpUtil -lSALOMEBasics \
-lSalomeIDLKernel -lSALOMELocalTrace \
$(GEOM_LDFLAGS) -lNMTDS -lSalomeIDLGEOM \
- $(MED_LDFLAGS) -lMEDWrapper_V2_2 -lSalomeIDLMED -lMEDWrapper \
+ $(MED_LDFLAGS) -lMEDWrapper_V2_2 -lMEDWrapper_V2_1 -lSalomeIDLMED -lMEDWrapper \
$(CAS_KERNEL)
SMESHClientBin_CPPFLAGS = \