Snippets for bochs 2.8 from Alpine armhf
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armhf/testing/bochs/bochs-2.8-r1.log.
-
./iodev/hdimage/vbox.cc:141:15: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'Bit32u' {aka 'unsigned int'} [-Wformat=] 141 | BX_PANIC(("unable to allocate %lu bytes for vbox image's map table", header.blocks_in_hdd * sizeof(Bit32u))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Bit32u {aka unsigned int} -
textconfig.cc:208:39: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'Bit64s*' {aka 'long long int*'} [-Wformat=] 208 | illegal = (1 != sscanf(buffer, "%ld", &n)); | ~~^ ~~ | | | | | Bit64s* {aka long long int*} | long int* | %lld -
vbox.cc:141:15: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'Bit32u' {aka 'unsigned int'} [-Wformat=] 141 | BX_PANIC(("unable to allocate %lu bytes for vbox image's map table", header.blocks_in_hdd * sizeof(Bit32u))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Bit32u {aka unsigned int} -
hpet.cc:394:13: warning: format '%lX' expects argument of type 'long unsigned int', but argument 4 has type 'Bit64u' {aka 'long long unsigned int'} [-Wformat=] 394 | BX_DEBUG(("Timer %d to fire in 0x%lX ticks", t->tn, diff)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | Bit64u {aka long long unsigned int}