s390-pci-bus.h:85: warning: "PAGE_SIZE" redefined
As of v6.1.0
on Alpine Linux:
C compiler for the host machine: gcc (gcc 10.3.1 "gcc (Alpine 10.3.1_git20210625) 10.3.1 20210625")
...
[2482/7569] Compiling C object libqemu-s390x-softmmu.fa.p/hw_s390x_s390-pci-inst.c.o
In file included from /home/mps/aports/community/qemu/src/qemu-6.1.0/include/hw/s390x/s390-pci-inst.h:17,
from ../target/s390x/tcg/misc_helper.c:44:
/home/mps/aports/community/qemu/src/qemu-6.1.0/include/hw/s390x/s390-pci-bus.h:85: warning: "PAGE_SIZE" redefined
85 | #define PAGE_SIZE (1 << PAGE_SHIFT)
|
In file included from /usr/include/fortify/stdlib.h:29,
from /home/mps/aports/community/qemu/src/qemu-6.1.0/include/qemu/osdep.h:84,
from ../target/s390x/tcg/misc_helper.c:21:
/usr/include/limits.h:97: note: this is the location of the previous definition
97 | #define PAGE_SIZE PAGESIZE
|
Reported on IRC by @mps-x.