summaryrefslogtreecommitdiff
path: root/xcode
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-12-16 19:54:05 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-12-16 19:54:05 +0000
commit7de3401f5f8c2a61476a3623e9802f973764fc27 (patch)
tree59322de2099c9879b4a10a298ecf6e6b03a63ace /xcode
parent348b01a2d08593bd4cb9739a83038143f860edff (diff)
downloadgtest-7de3401f5f8c2a61476a3623e9802f973764fc27.tar.gz
gtest-7de3401f5f8c2a61476a3623e9802f973764fc27.tar.bz2
gtest-7de3401f5f8c2a61476a3623e9802f973764fc27.tar.xz
Turns on -Wshadow (by Preston Jackson).
git-svn-id: http://googletest.googlecode.com/svn/trunk@350 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'xcode')
-rw-r--r--xcode/Config/General.xcconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/xcode/Config/General.xcconfig b/xcode/Config/General.xcconfig
index 9fcada1..f23e322 100644
--- a/xcode/Config/General.xcconfig
+++ b/xcode/Config/General.xcconfig
@@ -17,7 +17,7 @@ ZERO_LINK = NO
PREBINDING = NO
// Strictest warning policy
-WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare
+WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare -Wshadow
// Work around Xcode bugs by using external strip. See:
// http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html