aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-24 12:19:40 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-24 12:19:40 +0200
commit96fd652ebe6e7ea505f08099f73f21b02f24c1e4 (patch)
tree9b81899f9326a26183cf121af315fb0e7d37ee91 /Makefile
parentm + mark pure functions (diff)
downloadargparser-96fd652ebe6e7ea505f08099f73f21b02f24c1e4.tar.gz
argparser-96fd652ebe6e7ea505f08099f73f21b02f24c1e4.tar.bz2
argparser-96fd652ebe6e7ea505f08099f73f21b02f24c1e4.tar.xz
fix a bunch or warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4bb5aca..dfbc2f6 100644
--- a/Makefile
+++ b/Makefile
@@ -31,13 +31,13 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissi
-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 \
+ -Wundef -Wbad-function-cast -Wcast-qual -Wwrite-strings -Wlogical-op \
-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
-
+# excluded: -Waggregate-return