You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ make
GIT version.h
CC cdcacm.c
CC hid.c
CC hex_utils.c
CC flash.c
CC main.c
main.c:99:67: error: missing braces around initializer [-Werror=missing-braces]
static struct composite_report packet_buffer[1024 / sizeof(struct composite_report)] = {0};
^
main.c:99:67: error: (near initialization for 'packet_buffer[0]') [-Werror=missing-braces]
cc1: all warnings being treated as errors
Makefile:49: recipe for target 'main.o' failed
make: *** [main.o] Error 1
The text was updated successfully, but these errors were encountered:
$ make
GIT version.h
CC cdcacm.c
CC hid.c
CC hex_utils.c
CC flash.c
CC main.c
main.c:99:67: error: missing braces around initializer [-Werror=missing-braces]
static struct composite_report packet_buffer[1024 / sizeof(struct composite_report)] = {0};
^
main.c:99:67: error: (near initialization for 'packet_buffer[0]') [-Werror=missing-braces]
cc1: all warnings being treated as errors
Makefile:49: recipe for target 'main.o' failed
make: *** [main.o] Error 1
The text was updated successfully, but these errors were encountered: