Snippets for med-data-exchange-format 6.0.1 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/dwc1qhmi1yvd9knrv27p8pg6ydd9i1ix-medfile-6.0.1.drv.
-
/build/med-6.0.1/build/include/2.3.6/med_utils.h:235:56: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'med_size' {aka 'long unsigned int'} [-Wformat=] 235 | fprintf(stderr,"%s = %llu\n",#entier,entier) ;\ | ^~~~~~~~~~~~~ -
/build/med-6.0.1/build/include/med_utils.h:284:56: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 284 | fprintf(stderr,"%s\n",chaine) ;\ | ^~~~~~ -
/build/med-6.0.1/build/include/2.3.6/med_utils.h:230:56: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'med_size' {aka 'long unsigned int'} [-Wformat=] 230 | fprintf(stderr,"%s = %lld\n",#entier,entier) ;\ | ^~~~~~~~~~~~~ -
/build/med-6.0.1/build/include/med_utils.h:258:56: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'med_size' {aka 'long unsigned int'} [-Wformat=] 258 | fprintf(stderr,"%s = %llu\n",#entier,entier) ;\ | ^~~~~~~~~~~~~ -
/build/med-6.0.1/build/include/med_utils.h:258:56: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'hsize_t' {aka 'long unsigned int'} [-Wformat=] 258 | fprintf(stderr,"%s = %llu\n",#entier,entier) ;\ | ^~~~~~~~~~~~~ -
/build/med-6.0.1/tools/medimport/2.1.x/MAJ_21_22_champs.c:220:28: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 3 [-Wformat-overflow=] 220 | sprintf(modele, "%02d" ,(int) att); | ^~~~ -
/build/med-6.0.1/tools/mdump/mdump2.c:2541:3: warning: 'MEDfileCommentRd' is deprecated [-Wdeprecated-declarations] 2541 | ret = MEDfileCommentRd(fid,fichier_en_tete); | ^~~ -
/build/med-6.0.1/tools/mdump/mdump2.c:2564:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 2564 | scanf("%d",&reponse); | ^~~~~~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tools/mdump/mdump2.c:2577:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 2577 | scanf("%d",&reponse); | ^~~~~~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tools/mdump/mdump2.c:2737:7: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 2737 | scanf("%d",&numero); | ^~~~~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tools/mdump/mdump3.c:3413:3: warning: 'MEDfileCommentRd' is deprecated [-Wdeprecated-declarations] 3413 | ret = MEDfileCommentRd(fid,fichier_en_tete); | ^~~ -
/build/med-6.0.1/tools/mdump/mdump3.c:3437:32: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3437 | if (!scanf("%d",&reponse)) fgets(_temp, 256, stdin) ; | ^~~~~~~~~~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tools/mdump/mdump3.c:3450:32: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3450 | if (!scanf("%d",&reponse)) fgets(_temp, 256, stdin) ; | ^~~~~~~~~~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tools/mdump/mdump3.c:3654:35: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3654 | if (!scanf("%d",&numero)) fgets(_temp, 256, stdin) ; | ^~~~~~~~~~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tools/mdump/mdump4.c:3452:3: warning: 'MEDfileCommentRd' is deprecated [-Wdeprecated-declarations] 3452 | ret = MEDfileCommentRd(fid,fichier_en_tete); | ^~~ -
/build/med-6.0.1/tools/mdump/mdump4.c:3476:32: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3476 | if (!scanf("%d",&reponse)) fgets(_temp, 256, stdin) ; | ^~~~~~~~~~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tools/mdump/mdump4.c:3489:32: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3489 | if (!scanf("%d",&reponse)) fgets(_temp, 256, stdin) ; | ^~~~~~~~~~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tools/mdump/mdump4.c:3693:35: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3693 | if (!scanf("%d",&numero)) fgets(_temp, 256, stdin) ; | ^~~~~~~~~~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tools/medimport/libmedimport.c:170:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 170 | system(commande); | ^~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tools/medimport/libmedimport.c:178:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | system(commande); | ^~~~~~~~~~~~~~~~ -
/build/med-6.0.1/tests/c/test10.c:136:57: warning: overflow in conversion from 'long int' to 'int' changes value from '4294967296' to '0' [-Woverflow] 136 | itypecha valr2_[5*3 ] = {2147483647, -2147483648, 4294967296, 10,11,12, 20,21,22, 30,31,32, 40,41,42}; | ^~~~~~~~~~ -
/build/med-6.0.1/tests/c/test10_mem.c:137:57: warning: overflow in conversion from 'long int' to 'int' changes value from '4294967296' to '0' [-Woverflow] 137 | itypecha valr2_[5*3 ] = {2147483647, -2147483648, 4294967296, 10,11,12, 20,21,22, 30,31,32, 40,41,42}; | ^~~~~~~~~~ -
/build/med-6.0.1/tests/c/test10_f32_i32.c:136:57: warning: overflow in conversion from 'long int' to 'int' changes value from '4294967296' to '0' [-Woverflow] 136 | itypecha valr2_[5*3 ] = {2147483647, -2147483648, 4294967296, 10,11,12, 20,21,22, 30,31,32, 40,41,42}; | ^~~~~~~~~~ -
/build/med-6.0.1/tests/c/test10_f32_i64.c:136:57: warning: overflow in conversion from 'long int' to 'int' changes value from '4294967296' to '0' [-Woverflow] 136 | itypecha valr2_[5*3 ] = {2147483647, -2147483648, 4294967296, 10,11,12, 20,21,22, 30,31,32, 40,41,42}; | ^~~~~~~~~~ -
/build/med-6.0.1/tests/c/test10_f32.c:136:57: warning: overflow in conversion from 'long int' to 'int' changes value from '4294967296' to '0' [-Woverflow] 136 | itypecha valr2_[5*3 ] = {2147483647, -2147483648, 4294967296, 10,11,12, 20,21,22, 30,31,32, 40,41,42}; | ^~~~~~~~~~ -
/build/med-6.0.1/tests/c/test10_i32.c:136:57: warning: overflow in conversion from 'long int' to 'int' changes value from '4294967296' to '0' [-Woverflow] 136 | itypecha valr2_[5*3 ] = {2147483647, -2147483648, 4294967296, 10,11,12, 20,21,22, 30,31,32, 40,41,42}; | ^~~~~~~~~~ -
/build/med-6.0.1/tests/c/test10_i64.c:136:57: warning: overflow in conversion from 'long int' to 'int' changes value from '4294967296' to '0' [-Woverflow] 136 | itypecha valr2_[5*3 ] = {2147483647, -2147483648, 4294967296, 10,11,12, 20,21,22, 30,31,32, 40,41,42}; | ^~~~~~~~~~ -
/build/med-6.0.1/tests/c/test11.c:442:29: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'med_int64' {aka 'long int'} [-Wformat=] 442 | printf(" %lld ",*(((med_int64*)val)+(m*ngroup*ncomp)+n)); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | med_int64 {aka long int} | long long int | %ld -
/build/med-6.0.1/tests/c/test11.c:471:29: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'med_int64' {aka 'long int'} [-Wformat=] 471 | printf(" %lld ",*(((med_int64*)val)+(m*nval*ngauss)+n)); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | med_int64 {aka long int} | long long int | %ld