Enable -Wshadow

All shadow warnings in the default build have been fixed.  Enable
-Wshadow by default to flag any new instances.
This commit is contained in:
Kp 2016-05-22 17:50:13 +00:00
parent 7d468491a1
commit de219e3d48

View file

@ -2998,6 +2998,7 @@ class DXXCommon(LazyObjectConstructor):
env.Prepend(CXXFLAGS = [
'-ftabstop=4',
'-Wall',
'-Wshadow',
Werror + 'extra',
Werror + 'format=2',
Werror + 'missing-braces',