summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-01 12:51:56 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-01 12:51:56 +0200
commit8c7d91212021d55e48a321058c9ac8aea28ad042 (patch)
treed094e72b7fb8a64d7498f7b972552b60472b3620 /Makefile
parentenable more warnings and add .h files (diff)
downloadblueshift-8c7d91212021d55e48a321058c9ac8aea28ad042.tar.gz
blueshift-8c7d91212021d55e48a321058c9ac8aea28ad042.tar.bz2
blueshift-8c7d91212021d55e48a321058c9ac8aea28ad042.tar.xz
enable more warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bba7c92..707d284 100644
--- a/Makefile
+++ b/Makefile
@@ -49,9 +49,13 @@ PKGCONFIG ?= pkg-config
OPTIMISE ?= -Og -g
# Warnings settings for C code compilation
WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \
- -Wtrampolines -Wfloat-equal -Wmissing-prototypes
+ -Wfloat-equal -Wmissing-prototypes -Wmissing-declarations -Wtrampolines -Wnested-externs \
+ -Wno-variadic-macros -Wstrict-overflow -Wdeclaration-after-statement -Wundef -Wpacked \
+ -Wbad-function-cast -Wwrite-strings -Wlogical-op -Wstrict-prototypes -Wold-style-definition \
+ -Wvector-operation-performance -Wstack-protector -Wunsuffixed-float-constants -Wcast-align \
+ -Wsync-nand -Wunsafe-loop-optimizations
# Warnings violated by Cython and therefore excluded: (TODO)
-# -Wswitch-default -Wshadow
+# -Wshadow -Wredundant-decls -Winline -Wsign-conversion -Wcast-qual -Wpadded
# The C standard for C code compilation
STD = c99
LIBS_idcrtc = xcb-randr