CC       drivers/mbimmodem/mbim-message.o
drivers/mbimmodem/mbim-message.c: In function ‘_iter_copy_string’:
drivers/mbimmodem/mbim-message.c:199:18: error: cast increases required alignment of target type [-Werror=cast-align]
   uint16_t *le = (uint16_t *) buf;
                  ^
drivers/mbimmodem/mbim-message.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-format-truncation’ [-Werror]
cc1: all warnings being treated as errors
Makefile:3763: recipe for target 'drivers/mbimmodem/mbim-message.o' failed
make[1]: *** [drivers/mbimmodem/mbim-message.o] Error 1
Makefile:2080: recipe for target 'all' failed
make: *** [all] Error 2
 
The '-Wno-format-truncation' problem seems to have been mentioned here already, but the '-Werror=cast-align' seems to be something new.
 
gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1)
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to