SalomePlatform / medcoupling

MEDCoupling is a versatile data manipulation library for handling meshes and fields in numerical simulation codes using med files
GNU Lesser General Public License v2.1
9 stars 2 forks source link

FTBS with gcc 14 #6

Open Trophime opened 3 weeks ago

Trophime commented 3 weeks ago

Hi, Trying to rebuild on Debian/trixie, I've got errors like that:

In file included from /home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/MEDCOUPLING/src/MEDLoader/MEDFileMeshElt.cxx:32:
/home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/MEDCOUPLING/src/MEDLoader/MEDFilterEntity.hxx: In member function ‘void MEDCoupling::MEDFilterE
ntity::fill(med_idt, MEDCoupling::mcIdType, MEDCoupling::mcIdType, MEDCoupling::mcIdType, med_int, med_switch_mode, med_storage_mode, const char*, con
st MEDCoupling::PartDefinition*)’:
/home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/MEDCOUPLING/src/MEDLoader/MEDFilterEntity.hxx:102:66: error: cannot convert ‘long int*’ to ‘con
st med_int*’ {aka ‘const int*’}
  102 |                           ToMedInt(nbOfEltsToLoad), dpdPlus1.data(),
      |                                                     ~~~~~~~~~~~~~^~
      |                                                                  |
      |                                                                  long int*