Add implicit-fallthrough flag to Makefile in comment.

This flag prevents many warnings by allowing the compiler to recognize
the "fall through" comments.
This commit is contained in:
Eyal Soha 2022-08-23 10:58:31 -06:00
parent 3d25a90142
commit b97638be68

View File

@ -6,6 +6,7 @@ EXTRA_CFLAGS += -O2
#EXTRA_CFLAGS += -Werror
#EXTRA_CFLAGS += -pedantic
#EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
#EXTRA_CFLAGS += -Wimplicit-fallthrough=1
EXTRA_CFLAGS += -Wno-unused-variable
#EXTRA_CFLAGS += -Wno-unused-value