From 625b37fe1fcc6cbcc84916be0d6cfc031e61b2f5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 11 Apr 2014 21:53:30 +0200 Subject: add another warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 5 +++-- 1 file 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 -- cgit v1.2.3-70-g09d2