summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-02-06 14:42:01 +0100
committerThomas Haller <thaller@redhat.com>2017-02-06 16:45:20 +0100
commit7722beaa7e62be70cced974c0b4107b130e391e6 (patch)
tree33896a6f525e26eaeca48ea70c9bda539b27c53e /m4
parent4d3fbf72a61c6647cfb125294ee3e1e0cbff6175 (diff)
build: enable -Wimplicit-fallthrough warning from gcc7
Diffstat (limited to 'm4')
-rw-r--r--m4/compiler_options.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4
index e2f51c483..4a1130598 100644
--- a/m4/compiler_options.m4
+++ b/m4/compiler_options.m4
@@ -62,6 +62,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
fi
for option in \
+ -Wimplicit-fallthrough \
-Wshadow \
-Wmissing-declarations \
-Wmissing-prototypes \