diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-11 21:53:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-11 21:53:30 +0200 |
commit | 625b37fe1fcc6cbcc84916be0d6cfc031e61b2f5 (patch) | |
tree | 8a74507dce62edc70a586cdbb81bf7ca1b5e6c17 /Makefile | |
parent | add more warnings (diff) | |
download | blueshift-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-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |