make -I /home/simeon/syrthes/syrthes5.0 -C ./syrthes-tools/convert2syrthes/src clean make[1]: Entering directory '/home/simeon/syrthes/syrthes5.0/src/syrthes-tools/convert2syrthes/src' rm -rf ../../../../build//*.o make[1]: Leaving directory '/home/simeon/syrthes/syrthes5.0/src/syrthes-tools/convert2syrthes/src' make -I /home/simeon/syrthes/syrthes5.0 -C ./syrthes-tools/convert2syrthes/src make[1]: Entering directory '/home/simeon/syrthes/syrthes5.0/src/syrthes-tools/convert2syrthes/src' gcc -c -O3 -D _FILE_OFFSET_BITS=64 -D_SYRTHES_MPI_ -DMED -I/home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include -I/home/simeon/Code_Saturne/7.0.5-patch/hdf5-1.10.6/arch/Linux_x86_64/include convert2syrthes.c -o ../../../../build//convert2syrthes.o gcc -c -O3 -D _FILE_OFFSET_BITS=64 -D_SYRTHES_MPI_ -DMED -I/home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include -I/home/simeon/Code_Saturne/7.0.5-patch/hdf5-1.10.6/arch/Linux_x86_64/include lecture_ide.c -o ../../../../build//lecture_ide.o gcc -c -O3 -D _FILE_OFFSET_BITS=64 -D_SYRTHES_MPI_ -DMED -I/home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include -I/home/simeon/Code_Saturne/7.0.5-patch/hdf5-1.10.6/arch/Linux_x86_64/include extrbord_sim.c -o ../../../../build//extrbord_sim.o gcc -c -O3 -D _FILE_OFFSET_BITS=64 -D_SYRTHES_MPI_ -DMED -I/home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include -I/home/simeon/Code_Saturne/7.0.5-patch/hdf5-1.10.6/arch/Linux_x86_64/include lecture_sim.c -o ../../../../build//lecture_sim.o convert2syrthes.c: In function ‘main’: convert2syrthes.c:191:9: warning: implicit declaration of function ‘ouvrir_syr’ [-Wimplicit-function-declaration] 191 | if (ouvrir_syr(&maillage,nom_syr) != 0) return 1; | ^~~~~~~~~~ convert2syrthes.c:197:16: warning: implicit declaration of function ‘conversion_neu’ [-Wimplicit-function-declaration] 197 | case 1 : if (conversion_neu(&maillage,iargv[m+1]) != 0) return 1; break; | ^~~~~~~~~~~~~~ convert2syrthes.c:198:16: warning: implicit declaration of function ‘conversion_msh’ [-Wimplicit-function-declaration] 198 | case 2 : if (conversion_msh(&maillage,iargv[m+1]) != 0) return 1; break; | ^~~~~~~~~~~~~~ convert2syrthes.c:200:16: warning: implicit declaration of function ‘conversion_med’ [-Wimplicit-function-declaration] 200 | case 3 : if (conversion_med(&maillage,iargv[m+1], nom_syr) != 0) return 1; break; | ^~~~~~~~~~~~~~ lecture_ide.c: In function ‘lire_ideas’: lecture_ide.c:150:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 150 | fgets(ch1,90,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_ide.c:157:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 157 | fgets(ch3,90,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_ide.c:162:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 162 | fgets(ch2,90,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_ide.c:176:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 176 | fgets(ch3,90,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_ide.c:184:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 184 | fgets(ch3,90,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_ide.c:199:6: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 199 | fscanf((*maillage).fichier_ext,"%10d%10d%10d%10d",(node111[0]+ne111),(node111[1]+ne111), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | (node111[2]+ne111),(node111[3]+ne111)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_ide.c:213:6: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 213 | fscanf((*maillage).fichier_ext,"%10d%10d%10d",(node91[0]+ne91),(node91[1]+ne91),(node91[2]+ne91)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_ide.c:226:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 226 | fgets(ch3,90,(*maillage).fichier_ext); /* on passe une ligne */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_ide.c:227:6: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 227 | fscanf((*maillage).fichier_ext,"%10d%10d",(node21[0]+ne21),(node21[1]+ne21)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_ide.c:235:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 235 | fgets(ch3,90,(*maillage).fichier_ext);fgets(ch3,90,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_ide.c:235:47: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 235 | fgets(ch3,90,(*maillage).fichier_ext);fgets(ch3,90,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c: In function ‘lecture_tableau_sim_entier’: lecture_sim.c:186:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 186 | printf("_tab[%d] = %d\n",j,_tab[j]); | ~^ ~~~~~~~ | | | | int long int | %ld lecture_sim.c:188:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 188 | printf("%d != %d\n",_tab[0],l_seg); | ~^ ~~~~~~~ | | | | int long int | %ld convert2syrthes.c:202:16: warning: implicit declaration of function ‘conversion_sim’ [-Wimplicit-function-declaration] 202 | case 4 : if (conversion_sim(&maillage,&maillnodes,&maillnodebord,iargv[m+1], nom_syr) != 0) return 1; break; | ^~~~~~~~~~~~~~ convert2syrthes.c:203:16: warning: implicit declaration of function ‘conversion_ide’ [-Wimplicit-function-declaration] 203 | case 5 : if (conversion_ide(&maillage,iargv[m+1], nom_syr) != 0) return 1; break; | ^~~~~~~~~~~~~~ convert2syrthes.c:216:7: warning: implicit declaration of function ‘fermer_syr’ [-Wimplicit-function-declaration] 216 | if (fermer_syr(&maillage) != 0) return 1; | ^~~~~~~~~~ convert2syrthes.c:219:7: warning: implicit declaration of function ‘reouvrir_syr’ [-Wimplicit-function-declaration] 219 | if (reouvrir_syr(&maillage, nom_syr) != 0) return 1; | ^~~~~~~~~~~~ convert2syrthes.c:223:7: warning: implicit declaration of function ‘ecrire_entete_syr’ [-Wimplicit-function-declaration] 223 | if (ecrire_entete_syr(&maillage) != 0) return 1; | ^~~~~~~~~~~~~~~~~ convert2syrthes.c:228:9: warning: implicit declaration of function ‘ouvrir_neu’ [-Wimplicit-function-declaration] 228 | if (ouvrir_neu(&maillage,iargv[m+1]) != 0) return 1; | ^~~~~~~~~~ convert2syrthes.c:229:9: warning: implicit declaration of function ‘modif_noeuds_neusyr’ [-Wimplicit-function-declaration] 229 | if (modif_noeuds_neusyr(&maillage) != 0) return 1; | ^~~~~~~~~~~~~~~~~~~ convert2syrthes.c:230:9: warning: implicit declaration of function ‘fermer_neu’ [-Wimplicit-function-declaration] 230 | if (fermer_neu(&maillage) != 0) return 1; | ^~~~~~~~~~ convert2syrthes.c:234:9: warning: implicit declaration of function ‘ouvrir_msh’ [-Wimplicit-function-declaration] 234 | if (ouvrir_msh(&maillage,iargv[m+1]) != 0) return 1; | ^~~~~~~~~~ convert2syrthes.c:235:9: warning: implicit declaration of function ‘modif_noeuds_mshsyr’ [-Wimplicit-function-declaration] 235 | if (modif_noeuds_mshsyr(&maillage) != 0) return 1; | ^~~~~~~~~~~~~~~~~~~ convert2syrthes.c:236:9: warning: implicit declaration of function ‘fermer_msh’ [-Wimplicit-function-declaration] 236 | if (fermer_msh(&maillage) != 0) return 1; | ^~~~~~~~~~ convert2syrthes.c: In function ‘conversion_sim’: convert2syrthes.c:257:7: warning: implicit declaration of function ‘ouvrir_sim’ [-Wimplicit-function-declaration] 257 | if (ouvrir_sim(maillage, nomfich) != 0) return 1; | ^~~~~~~~~~ convert2syrthes.c:258:7: warning: implicit declaration of function ‘lire_sim’ [-Wimplicit-function-declaration] 258 | if (lire_sim(maillage,maillnodes,maillnodebord) != 0) return 1; | ^~~~~~~~ convert2syrthes.c:260:7: warning: implicit declaration of function ‘ecrire_coord_syr’ [-Wimplicit-function-declaration] 260 | if (ecrire_coord_syr(maillage) != 0) return 1; | ^~~~~~~~~~~~~~~~ convert2syrthes.c:261:7: warning: implicit declaration of function ‘ecrire_elem_syr’ [-Wimplicit-function-declaration] 261 | if (ecrire_elem_syr(maillage) != 0) return 1; | ^~~~~~~~~~~~~~~ convert2syrthes.c:264:8: warning: implicit declaration of function ‘ecrire_elem_de_bord_syr’ [-Wimplicit-function-declaration] 264 | if(ecrire_elem_de_bord_syr(maillage) != 0) return 1; | ^~~~~~~~~~~~~~~~~~~~~~~ convert2syrthes.c:266:7: warning: implicit declaration of function ‘fermer_sim’ [-Wimplicit-function-declaration] 266 | if (fermer_sim(maillage) != 0) return 1; | ^~~~~~~~~~ convert2syrthes.c: In function ‘conversion_ide’: convert2syrthes.c:276:7: warning: implicit declaration of function ‘ouvrir_ide’ [-Wimplicit-function-declaration] 276 | if (ouvrir_ide(maillage, nomfich) != 0) return 1; | ^~~~~~~~~~ lecture_sim.c:195:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 195 | printf("_tab[%d+1] = %d\n",j,_tab[j+1]); | ~^ ~~~~~~~~~ | | | | int long int | %ld lecture_sim.c:202:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 202 | printf("_tab[%d] = %d\n",i,_tab[0]); | ~^ ~~~~~~~ | | | | int long int | %ld lecture_sim.c: In function ‘lire_sim’: lecture_sim.c:391:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 391 | printf("m[ 30] NIVEAU = %d\n", m[29]); | ~^ ~~~~~ | | | | int long int | %ld lecture_sim.c:392:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 392 | printf("m[ 31] ETAT = %d\n", m[30]); | ~^ ~~~~~ | | | | int long int | %ld lecture_sim.c:393:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 393 | printf("m[ 32] NTACM = %d\n", m[31]); | ~^ ~~~~~ | | | | int long int | %ld convert2syrthes.c:277:7: warning: implicit declaration of function ‘lire_ideas’ [-Wimplicit-function-declaration] 277 | if (lire_ideas(maillage) != 0) return 1; | ^~~~~~~~~~ convert2syrthes.c:285:7: warning: implicit declaration of function ‘fermer_ide’ [-Wimplicit-function-declaration] 285 | if (fermer_ide(maillage) != 0) return 1; | ^~~~~~~~~~ lecture_sim.c:699:2: warning: implicit declaration of function ‘extrbord2’ [-Wimplicit-function-declaration] 699 | extrbord2(*maillnodes,maillnodebord,nrefac); | ^~~~~~~~~ convert2syrthes.c: In function ‘conversion_neu’: convert2syrthes.c:296:8: warning: implicit declaration of function ‘lire_entete_neu’ [-Wimplicit-function-declaration] 296 | if (lire_entete_neu(maillage) != 0) return 1; | ^~~~~~~~~~~~~~~ convert2syrthes.c:298:8: warning: implicit declaration of function ‘lire_coord_neu’ [-Wimplicit-function-declaration] 298 | if (lire_coord_neu(maillage) != 0) return 1; | ^~~~~~~~~~~~~~ convert2syrthes.c:299:8: warning: implicit declaration of function ‘lire_noeuds_colores_neu’ [-Wimplicit-function-declaration] 299 | if (lire_noeuds_colores_neu(maillage) != 0) return 1; | ^~~~~~~~~~~~~~~~~~~~~~~ convert2syrthes.c:301:8: warning: implicit declaration of function ‘lire_elem_neu’ [-Wimplicit-function-declaration] 301 | if (lire_elem_neu(maillage) != 0) return 1; | ^~~~~~~~~~~~~ convert2syrthes.c:302:8: warning: implicit declaration of function ‘lire_zones_neu’ [-Wimplicit-function-declaration] 302 | if (lire_zones_neu(maillage) != 0) return 1; | ^~~~~~~~~~~~~~ lecture_sim.c:701:2: warning: implicit declaration of function ‘extrbord3’ [-Wimplicit-function-declaration] 701 | extrbord3(*maillnodes,maillnodebord,nrefac); | ^~~~~~~~~ convert2syrthes.c:304:8: warning: implicit declaration of function ‘lire_cl_neu’ [-Wimplicit-function-declaration] 304 | if (lire_cl_neu(maillage) != 0) return 1; | ^~~~~~~~~~~ lecture_sim.c: In function ‘lire_entete_sim’: lecture_sim.c:91:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 91 | fread(itmp,4,1,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2syrthes.c: In function ‘conversion_msh’: convert2syrthes.c:321:8: warning: implicit declaration of function ‘lire_entete_msh’ [-Wimplicit-function-declaration] 321 | if (lire_entete_msh(maillage) != 0) return 1; | ^~~~~~~~~~~~~~~ convert2syrthes.c:323:8: warning: implicit declaration of function ‘lire_coord_msh’ [-Wimplicit-function-declaration] 323 | if (lire_coord_msh(maillage) != 0) return 1; | ^~~~~~~~~~~~~~ convert2syrthes.c:324:8: warning: implicit declaration of function ‘lire_noeuds_colores_msh’ [-Wimplicit-function-declaration] 324 | if (lire_noeuds_colores_msh(maillage) != 0) return 1; | ^~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c: In function ‘lecture_tableau_sim_entier’: lecture_sim.c:145:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 145 | fread(_tab, elt_size, l_seg + 1, fic_maillage); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:159:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 159 | fread(_tab, elt_size, l_rem + 1, fic_maillage); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:184:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 184 | fread(_tab, elt_size, l_seg + 1, fic_maillage); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:200:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 200 | fread(_tab, elt_size, l_rem + 1, fic_maillage); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2syrthes.c:326:8: warning: implicit declaration of function ‘lire_elem_msh’ [-Wimplicit-function-declaration] 326 | if (lire_elem_msh(maillage) != 0) return 1; | ^~~~~~~~~~~~~ convert2syrthes.c:327:8: warning: implicit declaration of function ‘lire_zones_msh’ [-Wimplicit-function-declaration] 327 | if (lire_zones_msh(maillage) != 0) return 1; | ^~~~~~~~~~~~~~ convert2syrthes.c:329:8: warning: implicit declaration of function ‘lire_cl_msh’ [-Wimplicit-function-declaration] 329 | if (lire_cl_msh(maillage) != 0) return 1; | ^~~~~~~~~~~ lecture_sim.c: In function ‘lire_sim’: lecture_sim.c:241:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 241 | fread(&itmp,4,1,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:275:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 275 | fread(m,sizeof(int),2,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(m,sizeof(int),2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:282:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 282 | fread(taille,taille_elt,m[1],(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(taille,taille_elt,m[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:283:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 283 | fread(&value_test,taille_elt,1,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(&value_test, taille_elt,1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:303:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 303 | fread(m,sizeof(int),3,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(m,sizeof(int),2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:313:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 313 | fread(taille,taille_elt,m[1]-1,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(taille,taille_elt,m[1]-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:315:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 315 | fread(&(value_test),sizeof(int),1,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(&(value_test),taille_elt,1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:353:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 353 | fread(rien,taille_elt,2,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:354:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 354 | fread(m,taille_elt,ln0,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(m,taille_elt,ln0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:372:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 372 | fread(rien,sizeof(int),1,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:379:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 379 | fread(tmp,taille_elt,ln0+1,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(m,taille_elt,ln0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:410:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 410 | fread(rien,sizeof(int),3,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:416:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 416 | fread(m,sizeof(int),ln2,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(m,sizeof(int),ln2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:443:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 443 | fread(rien,sizeof(int),4,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:449:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 449 | fread(m,sizeof(long),ln2,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(m,sizeof(long),ln2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2syrthes.c: In function ‘conversion_med’: convert2syrthes.c:346:7: warning: implicit declaration of function ‘ouvrir_med’ [-Wimplicit-function-declaration] 346 | if (ouvrir_med(maillage, nomfich, nomsyr) != 0) return 1; | ^~~~~~~~~~ convert2syrthes.c:347:7: warning: implicit declaration of function ‘lire_entete_med’ [-Wimplicit-function-declaration] 347 | if (lire_entete_med(maillage) != 0) return 1; | ^~~~~~~~~~~~~~~ convert2syrthes.c:349:7: warning: implicit declaration of function ‘lire_coord_med’ [-Wimplicit-function-declaration] 349 | if (lire_coord_med(maillage) != 0) return 1; | ^~~~~~~~~~~~~~ convert2syrthes.c:350:7: warning: implicit declaration of function ‘lire_noeuds_colores_med’ [-Wimplicit-function-declaration] 350 | if (lire_noeuds_colores_med(maillage) != 0) return 1; | ^~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:482:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 482 | fread(rien,sizeof(int),3,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:485:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 485 | fread(m,sizeof(int),ln3,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:491:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 491 | fread(rien,sizeof(int),4,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:494:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 494 | fread(m,sizeof(long),ln3,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:511:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 511 | fread(rien,sizeof(int),3,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:513:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 513 | fread(coord,sizeof(float),ln4,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(coord,sizeof(float),ln4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:524:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 524 | fread(rien,sizeof(int),4,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:526:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 526 | fread(coord,sizeof(double),ln4,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(coord,sizeof(double),ln4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:543:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 543 | fread(rien,sizeof(int),3,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:544:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 544 | fread(it5_tmp,sizeof(int),ln5,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(it5_tmp,sizeof(int),ln5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:551:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 551 | fread(rien,sizeof(int),4,(*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_sim.c:552:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 552 | fread(it5_tmp,sizeof(long),ln5,(*maillage).fichier_ext); if (ficswap) fic_bin_f__endswap(it5_tmp,sizeof(long),ln5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2syrthes.c:352:7: warning: implicit declaration of function ‘lire_elem_med’ [-Wimplicit-function-declaration] 352 | if (lire_elem_med(maillage) != 0) return 1; | ^~~~~~~~~~~~~ convert2syrthes.c:353:7: warning: implicit declaration of function ‘lire_zones_med’ [-Wimplicit-function-declaration] 353 | if (lire_zones_med(maillage) != 0) return 1; | ^~~~~~~~~~~~~~ convert2syrthes.c:355:7: warning: implicit declaration of function ‘lire_cl_med’ [-Wimplicit-function-declaration] 355 | if (lire_cl_med(maillage) != 0) return 1; | ^~~~~~~~~~~ convert2syrthes.c:356:7: warning: implicit declaration of function ‘ecrire_correspondance_syr_med’ [-Wimplicit-function-declaration] 356 | if (ecrire_correspondance_syr_med(maillage) !=0 ) return 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2syrthes.c:361:7: warning: implicit declaration of function ‘fermer_med’ [-Wimplicit-function-declaration] 361 | if (fermer_med(maillage) != 0) return 1; | ^~~~~~~~~~ In file included from /usr/include/string.h:495, from convert2syrthes.c:35: In function ‘strncpy’, inlined from ‘main’ at convert2syrthes.c:182:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2syrthes.c: In function ‘main’: convert2syrthes.c:181:18: note: length computed here 181 | longueur = strlen(iargv[o+1]); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from convert2syrthes.c:35: In function ‘strncpy’, inlined from ‘main’ at convert2syrthes.c:187:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2syrthes.c: In function ‘main’: convert2syrthes.c:186:18: note: length computed here 186 | longueur = strlen(iargv[m+1]); | ^~~~~~~~~~~~~~~~~~ gcc -c -O3 -D _FILE_OFFSET_BITS=64 -D_SYRTHES_MPI_ -DMED -I/home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include -I/home/simeon/Code_Saturne/7.0.5-patch/hdf5-1.10.6/arch/Linux_x86_64/include lecture_med.c -o ../../../../build//lecture_med.o gcc -c -O3 -D _FILE_OFFSET_BITS=64 -D_SYRTHES_MPI_ -DMED -I/home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include -I/home/simeon/Code_Saturne/7.0.5-patch/hdf5-1.10.6/arch/Linux_x86_64/include lecture_msh.c -o ../../../../build//lecture_msh.o gcc -c -O3 -D _FILE_OFFSET_BITS=64 -D_SYRTHES_MPI_ -DMED -I/home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include -I/home/simeon/Code_Saturne/7.0.5-patch/hdf5-1.10.6/arch/Linux_x86_64/include lecture_neu.c -o ../../../../build//lecture_neu.o lecture_neu.c: In function ‘lire_coord_neu’: lecture_neu.c:175:70: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 175 | printf("ERROR : allocation error, x coordinate, needed size : %i \n", sizeof(double) * ((*maillage).nbnoeuds)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_neu.c:180:70: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 180 | printf("ERROR : allocation error, y coordinate, needed size : %i \n", sizeof(double) * ((*maillage).nbnoeuds)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_neu.c: In function ‘lire_entete_neu’: lecture_neu.c:104:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 104 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:115:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 115 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c: In function ‘lire_coord_neu’: lecture_neu.c:185:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 185 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:208:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 208 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c: In function ‘lire_elem_neu’: lecture_neu.c:290:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 290 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:319:22: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 319 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:353:20: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 353 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:360:22: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 360 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:371:22: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 371 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:407:22: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 407 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:440:22: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 440 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:475:22: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 475 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:504:22: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 504 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c: In function ‘lire_zones_neu’: lecture_neu.c:575:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 575 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:585:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 585 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:591:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 591 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:598:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 598 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:608:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 608 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c: In function ‘lire_cl_neu’: lecture_neu.c:714:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 714 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:733:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 733 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:771:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 771 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:803:16: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 803 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c: In function ‘modif_noeuds_neusyr’: lecture_neu.c:892:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 892 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_syr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:913:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 913 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:914:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 914 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_syr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_neu.c:918:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 918 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_med.c: In function ‘ouvrir_med’: lecture_med.c:78:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 78 | fprintf(stdout,"- MED version used to read the file : %d.%d.%d \n",majeurlib,mineurlib,releaselib); | ~^ ~~~~~~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:78:61: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 78 | fprintf(stdout,"- MED version used to read the file : %d.%d.%d \n",majeurlib,mineurlib,releaselib); | ~^ ~~~~~~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:78:64: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 78 | fprintf(stdout,"- MED version used to read the file : %d.%d.%d \n",majeurlib,mineurlib,releaselib); | ~^ ~~~~~~~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:109:59: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 109 | fprintf(stdout," This file has been created with MED %d.%d.%d \n",majeurfic,mineurfic,releasefic); | ~^ ~~~~~~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:109:62: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 109 | fprintf(stdout," This file has been created with MED %d.%d.%d \n",majeurfic,mineurfic,releasefic); | ~^ ~~~~~~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:109:65: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 109 | fprintf(stdout," This file has been created with MED %d.%d.%d \n",majeurfic,mineurfic,releasefic); | ~^ ~~~~~~~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c: In function ‘lire_entete_med’: lecture_med.c:224:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 224 | printf(" Mesh name : %s - dimension : %d - espace : %d\n",maa,mdim,sdim); | ~^ ~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:224:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 224 | printf(" Mesh name : %s - dimension : %d - espace : %d\n",maa,mdim,sdim); | ~^ ~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c: In function ‘ecrire_correspondance_syr_med’: lecture_med.c:458:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 458 | printf("\nNumber of MED families : %d\n", nbfam); | ~^ ~~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:475:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 475 | printf("\n Family %d with %d attributes et %d groups \n",i+1,natt,ngro); | ~^ ~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:475:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 475 | printf("\n Family %d with %d attributes et %d groups \n",i+1,natt,ngro); | ~^ ~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:475:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 475 | printf("\n Family %d with %d attributes et %d groups \n",i+1,natt,ngro); | ~^ ~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:487:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 487 | printf("ERROR reading informations about family %d\n", i+1); | ~^ ~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:502:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 502 | printf(" Family name %s and number %d : \n",nomfam,nufam); | ~^ ~~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c:503:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘med_int’ {aka ‘long int’} [-Wformat=] 503 | printf(" Number of group in family : %d. Names of group : %s \n",ngro, gro); | ~^ ~~~~ | | | | int med_int {aka long int} | %ld lecture_med.c: In function ‘lire_coord_med’: lecture_msh.c: In function ‘lire_coord_msh’: lecture_med.c:615:75: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 615 | printf("ERROR : allocation error for the x coordinate, needed size : %i \n", sizeof(double) * ((*maillage).nbnoeuds)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_med.c:620:75: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 620 | printf("ERROR : allocation error for the y coordinate, needed size : %i \n", sizeof(double) * ((*maillage).nbnoeuds)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_med.c:626:77: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 626 | printf("ERROR : allocation error for the z coordinate, needed size : %i \n", sizeof(double) * ((*maillage).nbnoeuds)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_med.c: In function ‘lire_noeuds_colores_med’: lecture_med.c:694:74: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 694 | printf("ERROR : allocation error for the nodes color, needed size : %i \n", sizeof(int) * ((*maillage).nbnoeuds)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_med.c:708:18: warning: passing argument 7 of ‘MEDmeshEntityFamilyNumberRd’ from incompatible pointer type [-Wincompatible-pointer-types] 708 | (*maillage).coul_noeud); | ~~~~~~~~~~~^~~~~~~~~~~ | | | int * In file included from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med_proto.h:36, from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med.h:416, from lecture_med.c:44: /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/medmesh.h:386:36: note: expected ‘med_int * const’ {aka ‘long int * const’} but argument is of type ‘int *’ 386 | med_int * const number); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ lecture_med.c: In function ‘lire_elem_med’: lecture_med.c:880:75: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 880 | printf("ERROR : allocation error for the connectivity, needed size : %i \n", sizeof(int *) * ((*maillage).nbelem)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_med.c: In function ‘lire_zones_med’: lecture_med.c:956:70: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 956 | printf("ERROR : allocation error for nodes color, needed size : %i \n", sizeof(int) * ((*maillage).nbelem)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_med.c:973:20: warning: passing argument 7 of ‘MEDmeshEntityFamilyNumberRd’ from incompatible pointer type [-Wincompatible-pointer-types] 973 | (*maillage).coul_elem) < 0) { | ~~~~~~~~~~~^~~~~~~~~~ | | | int * In file included from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med_proto.h:36, from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med.h:416, from lecture_med.c:44: /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/medmesh.h:386:36: note: expected ‘med_int * const’ {aka ‘long int * const’} but argument is of type ‘int *’ 386 | med_int * const number); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ lecture_med.c:986:22: warning: passing argument 7 of ‘MEDmeshEntityFamilyNumberRd’ from incompatible pointer type [-Wincompatible-pointer-types] 986 | (*maillage).coul_elem) < 0) { | ~~~~~~~~~~~^~~~~~~~~~ | | | int * lecture_msh.c:102:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 102 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med_proto.h:36, from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med.h:416, from lecture_med.c:44: /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/medmesh.h:386:36: note: expected ‘med_int * const’ {aka ‘long int * const’} but argument is of type ‘int *’ 386 | med_int * const number); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ lecture_med.c:998:20: warning: passing argument 7 of ‘MEDmeshEntityFamilyNumberRd’ from incompatible pointer type [-Wincompatible-pointer-types] 998 | (*maillage).coul_elem) < 0) { | ~~~~~~~~~~~^~~~~~~~~~ | | | int * lecture_msh.c:121:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 121 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_msh.c:144:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 144 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med_proto.h:36, from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med.h:416, from lecture_med.c:44: /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/medmesh.h:386:36: note: expected ‘med_int * const’ {aka ‘long int * const’} but argument is of type ‘int *’ 386 | med_int * const number); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ lecture_msh.c: In function ‘lire_elem_msh’: lecture_med.c: In function ‘lire_cl_med’: lecture_med.c:1106:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 1106 | printf("ERROR : allocation error for the boundary connectivity, needed size : %i \n", sizeof(int) * (*maillage).nbelem_de_bord); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_med.c:1133:22: warning: passing argument 7 of ‘MEDmeshEntityFamilyNumberRd’ from incompatible pointer type [-Wincompatible-pointer-types] 1133 | (*maillage).coul_elembord) < 0) { | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | int * In file included from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med_proto.h:36, from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med.h:416, from lecture_med.c:44: /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/medmesh.h:386:36: note: expected ‘med_int * const’ {aka ‘long int * const’} but argument is of type ‘int *’ 386 | med_int * const number); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ lecture_med.c:1158:22: warning: passing argument 7 of ‘MEDmeshEntityFamilyNumberRd’ from incompatible pointer type [-Wincompatible-pointer-types] 1158 | (*maillage).coul_elembord) < 0) { | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | int * In file included from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med_proto.h:36, from /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/med.h:416, from lecture_med.c:44: /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include/medmesh.h:386:36: note: expected ‘med_int * const’ {aka ‘long int * const’} but argument is of type ‘int *’ 386 | med_int * const number); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ lecture_med.c:1183:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 1183 | printf("ERROR : allocation error for the boundary connectivity, needed size : %i \n", sizeof(int *) * ((*maillage).nbelem_de_bord)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_med.c:1224:84: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 1224 | printf("ERROR : allocation error for face references, needed size : %i \n", sizeof(int *) * ((*maillage).nbelem)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li lecture_msh.c:224:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 224 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_msh.c:261:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 261 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_msh.c:354:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 354 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_msh.c: In function ‘modif_noeuds_mshsyr’: lecture_msh.c:547:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 547 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_syr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_msh.c:559:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 559 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_msh.c:564:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 564 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_msh.c:565:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 565 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_syr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lecture_msh.c:569:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 569 | fgets(chaine, LONGUEUR_LIGNE , (*maillage).fichier_ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O3 -D _FILE_OFFSET_BITS=64 -D_SYRTHES_MPI_ -DMED -I/home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/include -I/home/simeon/Code_Saturne/7.0.5-patch/hdf5-1.10.6/arch/Linux_x86_64/include ecriture_syr.c -o ../../../../build//ecriture_syr.o gcc -o /home/simeon/syrthes/syrthes5.0/arch/Linux_x86_64/bin/convert2syrthes -O3 -D _FILE_OFFSET_BITS=64 -D_SYRTHES_MPI_ ../../../../build//*.o -L /home/simeon/Code_Saturne/7.0.5-patch/med-4.1.0/arch/Linux_x86_64/lib -L/home/simeon/Code_Saturne/7.0.5-patch/hdf5-1.10.6/arch/Linux_x86_64/lib -lmedC -lhdf5 -L. -lm make[1]: Leaving directory '/home/simeon/syrthes/syrthes5.0/src/syrthes-tools/convert2syrthes/src'