diff options
author | Thomas Haller <thaller@redhat.com> | 2017-05-18 18:11:10 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-05-18 18:21:27 +0200 |
commit | 145f510bedcde07d61b8785ba2b69ed4d313ea75 (patch) | |
tree | faf30459db0b32d4ff84002197d8777c3eb9e8a6 /m4 | |
parent | 587d87699227f015414138c848f6b6667d4e470e (diff) |
build: enable -Wlogical-op and -Wshift-negative-value compiler warning
Diffstat (limited to 'm4')
-rw-r--r-- | m4/compiler_options.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4 index 23929af8d..ccb51f5e6 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 \ |