summaryrefslogtreecommitdiffstats
path: root/build/common.xcconfig
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 00:16:28 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 00:16:28 +0000
commit11b901ee17f1ef5aa41c70046b7a5360534c633d (patch)
tree9dd5ca2b4ec4864658218126afc2f813a2c32c68 /build/common.xcconfig
parent64f5c3c6952e4861a269dd8e0d396ecea584ffa1 (diff)
downloadchromium_src-11b901ee17f1ef5aa41c70046b7a5360534c633d.zip
chromium_src-11b901ee17f1ef5aa41c70046b7a5360534c633d.tar.gz
chromium_src-11b901ee17f1ef5aa41c70046b7a5360534c633d.tar.bz2
Use gcc 4.2 for the Mac build. Fix up new warnings and errors pointed out
by gcc 4.2: warning: 'C' has a field 'C::m_' whose type uses the anonymous namespace warning: missing braces around initializer for 'S' error: extra qualification 'C::' on member 'm' Review URL: http://codereview.chromium.org/1675 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1955 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.xcconfig')
-rw-r--r--build/common.xcconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/common.xcconfig b/build/common.xcconfig
index 5274cef..4f4cab7 100644
--- a/build/common.xcconfig
+++ b/build/common.xcconfig
@@ -11,6 +11,7 @@ GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_PRECOMPILE_PREFIX_HEADER = YES
GCC_SYMBOLS_PRIVATE_EXTERN = YES
GCC_TREAT_WARNINGS_AS_ERRORS = YES
+GCC_VERSION = 4.2
GCC_WARN_ABOUT_MISSING_NEWLINE = YES
OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(CODECOVERAGE_OTHER_LDFLAGS)
PREBINDING = NO