ref: d67ec38ce3240abf440e6ba7b6aae7a1d28b3c5f
parent: 7ad2500a5180e9e998cb913f8cb8d42a30bb505a
author: Ori Bernstein <[email protected]>
date: Tue Feb 25 15:02:37 EST 2014
Remove unreachable code warning. It errors on code like this: die("Unimplemented"); break; But it shouldn't. So, we turn off the flag.
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -6,7 +6,7 @@
_LIBINCPATHS=$(addprefix -I, $(dir $(DEPS)))
_LIBPATHS=$(addprefix -l, $(patsubst lib%.a,%,$(notdir $(DEPS))))
-CFLAGS += -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wunreachable-code
+CFLAGS += -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
CFLAGS += -g
CFLAGS += -MMD -MP -MF ${_DEPSDIR}/$(subst /,-,$*).d