aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-04 02:33:09 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-04 02:33:09 +0200
commit8e1dcecd79a91976629362c2a05f5c1ef2495710 (patch)
tree9c7b9e376d8d887ec018402cd99bee391ab43908 /Makefile
parentfix warnings (diff)
downloadlibgammamm-8e1dcecd79a91976629362c2a05f5c1ef2495710.tar.gz
libgammamm-8e1dcecd79a91976629362c2a05f5c1ef2495710.tar.bz2
libgammamm-8e1dcecd79a91976629362c2a05f5c1ef2495710.tar.xz
add -Wshadow
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1b15304..1e221d3 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,7 @@ DEFS = __GCC__
# Warning flags, set to empty if you are not using GCC
WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self \
- -Wmissing-include-dirs -Wtrampolines -Wfloat-equal \
+ -Wmissing-include-dirs -Wtrampolines -Wfloat-equal -Wshadow \
-Wmissing-declarations -Wredundant-decls -Winline -Wno-variadic-macros \
-Weffc++ -Wc++11-compat -Wzero-as-null-pointer-constant -Wuseless-cast \
-Wsync-nand -Wunsafe-loop-optimizations -Wcast-align -Wstrict-overflow \
@@ -78,7 +78,7 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self \
-Wsuggest-attribute=format -Wnormalized=nfkc -Wconversion \
-fstrict-aliasing -fstrict-overflow -fipa-pure-const -ftree-vrp \
-fstack-usage -funsafe-loop-optimizations
-# ignored: -Waggregate-return -Wshadow
+# ignored: -Waggregate-return