build: enable -Wlogical-op and -Wshift-negative-value compiler warning

This commit is contained in:
Thomas Haller 2017-05-18 18:11:10 +02:00
parent aaefa2b07f
commit 41e7fca597

View file

@ -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 \