mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 08:55:11 +01:00
Fix -Wshadow warnings
This commit is contained in:
1 parent
1a1f36ce13
commit
2db88dd98e
6 files changed
+142
-127
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ wuffs gen
|
||||
|
||||
# Compiler warning flags are discussed at
|
||||
# http://fastcompression.blogspot.com/2019/01/compiler-warnings.html
|
||||
WARNING_FLAGS="-Wall -Werror -Wpedantic -Wcast-qual -Wcast-align -Wpointer-arith -Wfloat-equal -Wundef -Wvla -Wconversion"
|
||||
WARNING_FLAGS="-Wall -Werror -Wpedantic -Wcast-qual -Wcast-align -Wpointer-arith -Wfloat-equal -Wundef -Wvla -Wconversion -Wshadow"
|
||||
|
||||
echo "Checking snapshot compiles cleanly (as C)"
|
||||
$CC -c $WARNING_FLAGS -std=c99 -Wc++-compat \
|
||||
|
||||
Reference in new issue
Block a user