Snippets for perl:sereal-decoder 5.007 from Alpine armhf
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armhf/community/perl-sereal-decoder/perl-sereal-decoder-5.007-r1.log.
-
srl_reader_decompress.h:78:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'STRLEN' {aka 'unsigned int'} [-Wformat=] 78 | croak("Insufficient memory to '%s' decompress. Size compressed=%"UVuf" uncompressed=%"UVuf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | compression_type, compressed_len, total_requested ); | ~~~~~~~~~~~~~~ | | | STRLEN {aka unsigned int} -
srl_reader_decompress.h:78:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'STRLEN' {aka 'unsigned int'} [-Wformat=] 78 | croak("Insufficient memory to '%s' decompress. Size compressed=%"UVuf" uncompressed=%"UVuf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | compression_type, compressed_len, total_requested ); | ~~~~~~~~~~~~~~~ | | | STRLEN {aka unsigned int} -
srl_decoder.c:176:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 176 | printf("KEY=%"UVuf"\nVALUE:\n", (UV)e->key); | ^ -
srl_decoder.c:916:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 916 | SV *sv= (SV *)PTABLE_fetch(dec->ref_seenhash, (void *)item); | ^ -
srl_decoder.c:1380:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1380 | av= (AV *)PTABLE_fetch(dec->ref_bless_av, (void *)offset); | ^ -
srl_decoder.c:1567:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1567 | class_stash= (HV *) PTABLE_fetch(dec->ref_stashes, (void *)ofs); | ^ -
srl_reader_error.h:6:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 6 | #define SRL_RDR_BASE_ERROR_FORMAT_START "Sereal: Error: " | ^~~~~~~~~~~~~~~~~ -
Decoder.xs:106:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 106 | decoder = (srl_decoder_t *)SvIV(decoder_sv); | ^