summaryrefslogtreecommitdiff
path: root/m4/compiler_options.m4
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-02-06 18:24:33 +0100
committerThomas Haller <thaller@redhat.com>2017-02-06 19:27:21 +0100
commit5120205f9898f19e5738b2df7539447331d2c8ea (patch)
tree930a8f545b9c1ef8d8016c1148f76aecebacf7e3 /m4/compiler_options.m4
parentcb365b33f3271d4cac8192f5434c672c29e01b64 (diff)
build: enable -Wextra warning
Diffstat (limited to 'm4/compiler_options.m4')
-rw-r--r--m4/compiler_options.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4
index 5f04644534..05272b3254 100644
--- a/m4/compiler_options.m4
+++ b/m4/compiler_options.m4
@@ -62,6 +62,8 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
fi
for option in \
+ -Wextra \
+ -Wno-missing-field-initializers \
-Wimplicit-fallthrough \
-Wshadow \
-Wmissing-declarations \