Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC migration/exec.o
- /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c: In function ‘usb_xhci_realize’:
- /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:3340:66: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Werror=format-truncation=]
- snprintf(port->name, sizeof(port->name), "usb2 port #%d", i+1);
- ^~
- /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:3340:54: note: directive argument in the range [-2147483647, 30]
- snprintf(port->name, sizeof(port->name), "usb2 port #%d", i+1);
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/stdio.h:862:0,
- from /main/personal/work/virtio-fs/qemu/include/qemu/osdep.h:99,
- from /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:21:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 13 and 23 bytes into a destination of size 16
- return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- __bos (__s), __fmt, __va_arg_pack ());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:3354:66: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Werror=format-truncation=]
- snprintf(port->name, sizeof(port->name), "usb3 port #%d", i+1);
- ^~
- /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:3354:54: note: directive argument in the range [-2147483647, 30]
- snprintf(port->name, sizeof(port->name), "usb3 port #%d", i+1);
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/stdio.h:862:0,
- from /main/personal/work/virtio-fs/qemu/include/qemu/osdep.h:99,
- from /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:21:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 13 and 23 bytes into a destination of size 16
- return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- __bos (__s), __fmt, __va_arg_pack ());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CC migration/tls.o
- CC migration/channel.o
- CC migration/savevm.o
- CC migration/colo.o
- CC migration/colo-failover.o
- CC migration/vmstate.o
- CC migration/vmstate-types.o
- CC migration/page_cache.o
- CC migration/qemu-file.o
- CC migration/global_state.o
- cc1: all warnings being treated as errors
- /main/personal/work/virtio-fs/qemu/rules.mak:69: recipe for target 'hw/usb/hcd-xhci.o' failed
- make: *** [hw/usb/hcd-xhci.o] Error 1
- make: *** Waiting for unfinished jobs....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement