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:
parent
7d468491a1
commit
de219e3d48
|
@ -2998,6 +2998,7 @@ class DXXCommon(LazyObjectConstructor):
|
|||
env.Prepend(CXXFLAGS = [
|
||||
'-ftabstop=4',
|
||||
'-Wall',
|
||||
'-Wshadow',
|
||||
Werror + 'extra',
|
||||
Werror + 'format=2',
|
||||
Werror + 'missing-braces',
|
||||
|
|
Loading…
Reference in a new issue