daniel-santos / mcp2210-linux

MCP2210 driver for linux
http://danielthesantos.blogspot.com/search/label/mcp2210
51 stars 31 forks source link

error: this statement may fall through [-Werror=implicit-fallthrough=] #44

Open AleXxch13 opened 4 years ago

AleXxch13 commented 4 years ago

Please add "-Wno-implicit-fallthrough" as flag in the variable ccflags-y from Makefile. I use a gcc 7.5.0 and I got this error for every switch where you have a branch without break in the end.