summaryrefslogtreecommitdiff
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
commit4b9cebd8ad3d9c353b7a2a80c9001fa5d1642206 (patch)
tree33896a6f525e26eaeca48ea70c9bda539b27c53e
parent7c6c8f0d8bf394031b27f1e1d5c5220309046e38 (diff)
downloadNetworkManager-4b9cebd8ad3d9c353b7a2a80c9001fa5d1642206.tar.gz
build: enable -Wimplicit-fallthrough warning from gcc7
-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 e2f51c4838..4a11305981 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 \