-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
Description
When I try to build I get this error:
[1800/2306] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_chipid.c.obj
../hw/arm/ipod_touch_chipid.c: In function 'ipod_touch_chipid_read':
../hw/arm/ipod_touch_chipid.c:17:70: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=]
17 | hw_error("%s: reading from unknown chip ID register 0x%08x\n", __func__, addr);
| ~~~^ ~~~~
| | |
| unsigned int hwaddr {aka long long unsigned int}
| %08llx
[1801/2306] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_gpio.c.obj
../hw/arm/ipod_touch_gpio.c: In function 's5l8900_gpio_write':
../hw/arm/ipod_touch_gpio.c:6:25: warning: unused variable 's' [-Wunused-variable]
6 | IPodTouchGPIOState *s = (struct IPodTouchGPIOState *) opaque;
| ^
../hw/arm/ipod_touch_gpio.c: In function 's5l8900_gpio_read':
../hw/arm/ipod_touch_gpio.c:16:41: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=]
16 | printf("%s: read from location 0x%08x\n", __func__, addr);
| ~~~^ ~~~~
| | |
| unsigned int hwaddr {aka long long unsigned int}
| %08llx
ninja: build stopped: subcommand failed.
make: *** [Makefile:162: run-ninja] Error 1
I have tried to redownload the git and recompile but I get the same error