[U-Boot] [BUG] tbs2910_defconfig does not compile with gcc 9.2.1
Heinrich Schuchardt
xypron.glpk at gmx.de
Sat Oct 26 18:01:31 UTC 2019
Hello Marek,
tbs2910_defconfig does not compile with gcc 9.2.1:
In file included from drivers/usb/gadget/g_dnl.c:24:
drivers/usb/gadget/composite.c: In function ‘get_string’:
drivers/usb/gadget/composite.c:545:23: error: taking address of packed
member of ‘struct usb_string_descriptor’ may result in an unaligned
pointer value [-Werror=address-of-packed-member]
545 | collect_langs(sp, s->wData);
| ~^~~~~~~
drivers/usb/gadget/composite.c:550:24: error: taking address of packed
member of ‘struct usb_string_descriptor’ may result in an unaligned
pointer value [-Werror=address-of-packed-member]
550 | collect_langs(sp, s->wData);
| ~^~~~~~~
drivers/usb/gadget/composite.c:555:25: error: taking address of packed
member of ‘struct usb_string_descriptor’ may result in an unaligned
pointer value [-Werror=address-of-packed-member]
555 | collect_langs(sp, s->wData);
| ~^~~~~~~
Best regards
Heinrich
More information about the U-Boot
mailing list