diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-04 02:33:09 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-04 02:33:09 +0200 |
commit | 8e1dcecd79a91976629362c2a05f5c1ef2495710 (patch) | |
tree | 9c7b9e376d8d887ec018402cd99bee391ab43908 /Makefile | |
parent | fix warnings (diff) | |
download | libgammamm-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |