summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-11 21:53:30 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-11 21:53:30 +0200
commit625b37fe1fcc6cbcc84916be0d6cfc031e61b2f5 (patch)
tree8a74507dce62edc70a586cdbb81bf7ca1b5e6c17 /Makefile
parentadd more warnings (diff)
downloadblueshift-625b37fe1fcc6cbcc84916be0d6cfc031e61b2f5.tar.gz
blueshift-625b37fe1fcc6cbcc84916be0d6cfc031e61b2f5.tar.bz2
blueshift-625b37fe1fcc6cbcc84916be0d6cfc031e61b2f5.tar.xz
add another warning
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a57712a..06cb6bc 100644
--- a/Makefile
+++ b/Makefile
@@ -57,8 +57,9 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissi
-Wsuggest-attribute=format -Wnormalized=nfkc
# Warnings violated by Cython and therefore only use for C and not Cython
CWARN = -Wshadow -Wredundant-decls -Winline -Wcast-qual -Wsign-conversion -Wstrict-overflow \
- -Wconversion -Wsuggest-attribute=pure
-#not used: -Wtraditional (tranditional C function definitions are ridiculous)
+ -Wconversion -Wsuggest-attribute=pure -Wswitch-default
+#not used: -Wtraditional (tranditional C function definitions are ridiculous),
+# -Wpadded (useless for this project), -Wc++-compat (bad practice)
#not used because of libxcb's API: -Waggregate-return, -Wtraditional-conversion (also useless)
# The C standard for C code compilation
STD = c99