summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-05-18 18:11:10 +0200
committerThomas Haller <thaller@redhat.com>2017-05-18 18:21:27 +0200
commit41e7fca59762dc928c9d67b555b1409c3477b2b0 (patch)
treefaf30459db0b32d4ff84002197d8777c3eb9e8a6 /m4
parentaaefa2b07f0cc111815ed9ba5bb3fe798da57645 (diff)
downloadNetworkManager-41e7fca59762dc928c9d67b555b1409c3477b2b0.tar.gz
build: enable -Wlogical-op and -Wshift-negative-value compiler warning
Diffstat (limited to '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 23929af8db..ccb51f5e6e 100644
--- a/m4/compiler_options.m4
+++ b/m4/compiler_options.m4
@@ -70,11 +70,13 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
-Wimplicit-fallthrough \
-Wimplicit-function-declaration \
-Winit-self \
+ -Wlogical-op \
-Wmissing-declarations \
-Wmissing-include-dirs \
-Wmissing-prototypes \
-Wpointer-arith \
-Wshadow \
+ -Wshift-negative-value \
-Wstrict-prototypes \
-Wundef \
-Wno-duplicate-decl-specifier \