diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-24 08:23:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-24 08:23:41 +0200 |
commit | 7e0c39492a784f40f0fe0aa63e35b774dc7a4820 (patch) | |
tree | c6695d7c76c1c9d186b8f0bef371b27b479deb5e /Makefile | |
parent | fix errors and a warning (diff) | |
download | libpassphrase-7e0c39492a784f40f0fe0aa63e35b774dc7a4820.tar.gz libpassphrase-7e0c39492a784f40f0fe0aa63e35b774dc7a4820.tar.bz2 libpassphrase-7e0c39492a784f40f0fe0aa63e35b774dc7a4820.tar.xz |
enable more warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -46,12 +46,17 @@ OPTIONS ?= # Optimisation settings for C code compilation OPTIMISE ?= -Os # Warnings settings for C code compilation -WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \ - -Wfloat-equal -Wmissing-prototypes -Wmissing-declarations -Wtrampolines -Wnested-externs \ - -Wno-variadic-macros -Wdeclaration-after-statement -Wundef -Wpacked -Wunsafe-loop-optimizations \ - -Wbad-function-cast -Wwrite-strings -Wlogical-op -Wstrict-prototypes -Wold-style-definition \ - -Wvector-operation-performance -Wstack-protector -Wunsuffixed-float-constants -Wcast-align \ - -Wsync-nand -Wshadow -Wredundant-decls -Winline -Wcast-qual -Wsign-conversion -Wstrict-overflow +WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \ + -Wtrampolines -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations \ + -Wredundant-decls -Wnested-externs -Winline -Wno-variadic-macros -Wsync-nand \ + -Wunsafe-loop-optimizations -Wcast-align -Wstrict-overflow -Wdeclaration-after-statement \ + -Wundef -Wbad-function-cast -Wcast-qual -Wwrite-strings -Wlogical-op -Waggregate-return \ + -Wstrict-prototypes -Wold-style-definition -Wpacked -Wvector-operation-performance \ + -Wunsuffixed-float-constants -Wsuggest-attribute=const -Wsuggest-attribute=noreturn \ + -Wsuggest-attribute=pure -Wsuggest-attribute=format -Wnormalized=nfkc -Wconversion \ + -fstrict-aliasing -fstrict-overflow -fipa-pure-const -ftree-vrp -fstack-usage \ + -funsafe-loop-optimizations + # The C standard for C code compilation STD = gnu99 # C preprocessor flags |