On Thu, 2 May 2019 at 14:21, Gerd Hoffmann <kra...@redhat.com> wrote: > > > Hi -- I'm afraid this failed to compile on one of my systems: > > > > CC hw/usb/hcd-xhci.o > > /home/petmay01/linaro/qemu-for-merges/hw/usb/hcd-xhci.c: In function > > ‘usb_xhci_realize’: > > /home/petmay01/linaro/qemu-for-merges/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); > > Which system/compiler is this?
x86-64 Linux, gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0, non-debug build. thanks -- PMM