summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorOri Bernstein <orib@google.com>2012-06-11 18:01:14 -0400
committerOri Bernstein <orib@google.com>2012-06-11 18:01:14 -0400
commit72830a2498102146429bda752d911db0a07f1173 (patch)
tree4b3d2e9d3419bc927a66e6c1af5c57af8a81a135 /mk
parent0c390c80f2a0c88891dd1aee93ad41c0cf9d4837 (diff)
downloadmc-72830a2498102146429bda752d911db0a07f1173.tar.gz
Integer correctness fixes.
We were mixing signed and unsigned comparisons. This can lead to weird edge cases that nobody should have to reason about. Don't do that.
Diffstat (limited to 'mk')
-rw-r--r--mk/c.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/c.mk b/mk/c.mk
index 4e6e3be..d2524e3 100644
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -1,7 +1,7 @@
DEPSDIR = .deps
DEPS=$(addprefix $(DEPSDIR)/, $(OBJ:.o=.d))
-CFLAGS += -Wall -Werror
+CFLAGS += -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
CFLAGS += -g
CFLAGS += -MMD -MP -MF ${DEPSDIR}/$(subst /,-,$*).d