aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-07 19:43:38 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-07 19:43:38 +0200
commit9641824e740781b963ef60c15aa75d23554f7aa9 (patch)
tree7cfc6b49673d8f7fed2b0602289d2dca51c8a2b0 /Makefile
parentadd more warnings (diff)
downloadcerberus-9641824e740781b963ef60c15aa75d23554f7aa9.tar.gz
cerberus-9641824e740781b963ef60c15aa75d23554f7aa9.tar.bz2
cerberus-9641824e740781b963ef60c15aa75d23554f7aa9.tar.xz
fix some warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0883aed..2507ff9 100644
--- a/Makefile
+++ b/Makefile
@@ -53,12 +53,13 @@ VRB_CPPFLAGS = $(foreach D, $(VRB_DEFS), -D'$(D)=$($(D))') -DAUTH=$(auth_$(AUTH)
OPTIMISE = -Os
STD=gnu99
-WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \
+WARN = -Wall -Wextra -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \
-Wfloat-equal -Wmissing-prototypes -Wmissing-declarations -Wtrampolines -Wnested-externs \
-Wno-variadic-macros -Wdeclaration-after-statement -Wundef -Wpacked -Wunsafe-loop-optimizations \
-Wbad-function-cast -Wwrite-strings -Wlogical-op -Wstrict-prototypes -Wold-style-definition \
-Wvector-operation-performance -Wstack-protector -Wunsuffixed-float-constants -Wcast-align \
-Wsync-nand -Wshadow -Wredundant-decls -Winline -Wcast-qual -Wsign-conversion -Wstrict-overflow
+# excluded: -pedantic
CPPFLAGS = $(EXTRA_CPP_FLAGS) $(STR_CPPFLAGS) $(VRB_CPPFLAGS)
CFLAGS = -std=$(STD) $(WARN)
LDFLAGS =