Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not compile on ubuntu 16.04 #12

Open
m2049r opened this issue Feb 14, 2018 · 0 comments
Open

does not compile on ubuntu 16.04 #12

m2049r opened this issue Feb 14, 2018 · 0 comments

Comments

@m2049r
Copy link

m2049r commented Feb 14, 2018

$ 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant