Snippets for med-data-exchange-format 5.0.0 from Alpine armhf
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armhf/community/libmedc/libmedc-5.0.0-r2.log.
-
/home/buildozer/aports/community/libmedc/src/med-5.0.0/build/include/2.3.6/med_utils.h:225:56: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'med_idt' {aka 'long long int'} [-Wformat=] 225 | fprintf(stderr,"%s = %ld\n",#entier,entier) ;\ | ^~~~~~~~~~~~ -
/home/buildozer/aports/community/libmedc/src/med-5.0.0/tools/medimport/medimportcxx.cxx:31:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | if (argc == 2 ) fileOut=""; else fileOut=argv[2]; | ^~ -
/home/buildozer/aports/community/libmedc/src/med-5.0.0/src/ci/MEDmeshUniversalNameWr.c:147:50: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 147 | if ( sprintf(&_unvname[strlen(_unvname)-1]," %li",_tp.tv_usec) < 0 ) { | ~~^ ~~~~~~~~~~~ | | | | | suseconds_t {aka long long int} | long int | %lli -
/home/buildozer/aports/community/libmedc/src/med-5.0.0/src/2.3.6/ci/MEDunvCr.c:119:42: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 119 | if ( sprintf(&nomu[strlen(nomu)-1]," %li",tp.tv_usec) < 0 ) { | ~~^ ~~~~~~~~~~ | | | | | suseconds_t {aka long long int} | long int | %lli -
/home/buildozer/aports/community/libmedc/src/med-5.0.0/tools/mdump/mdump4.c:2571:34: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'med_int64' {aka 'long long int'} [-Wformat=] 2571 | printf(" %ld ",*(((med_int64*)val)+(m*ngroup*ncomp)+n)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | med_int64 {aka long long int} | long int | %lld -
/home/buildozer/aports/community/libmedc/src/med-5.0.0/tools/mdump/mdump4.c:2604:34: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'med_int64' {aka 'long long int'} [-Wformat=] 2604 | printf(" %ld ",*(((med_int64*)val)+(m*nval*ngauss)+n)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | med_int64 {aka long long int} | long int | %lld -
/home/buildozer/aports/community/libmedc/src/med-5.0.0/tools/mdump/mdump3.c:2553:34: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'med_int64' {aka 'long long int'} [-Wformat=] 2553 | printf(" %ld ",*(((med_int64*)val)+(m*ngroup*ncomp)+n)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | med_int64 {aka long long int} | long int | %lld -
/home/buildozer/aports/community/libmedc/src/med-5.0.0/tools/mdump/mdump3.c:2586:34: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'med_int64' {aka 'long long int'} [-Wformat=] 2586 | printf(" %ld ",*(((med_int64*)val)+(m*nval*ngauss)+n)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | med_int64 {aka long long int} | long int | %lld