summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-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