summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-22 14:31:45 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-22 14:31:45 +0000
commit25d3bb7202d01114b54c45c573374292ea49edda (patch)
tree7b16c6882898fd2f3d6e3d6f3728ccf6b160bf6b /build
parent626ee677a9a2419148d63aac16ea11164f4832bc (diff)
downloadchromium_src-25d3bb7202d01114b54c45c573374292ea49edda.zip
chromium_src-25d3bb7202d01114b54c45c573374292ea49edda.tar.gz
chromium_src-25d3bb7202d01114b54c45c573374292ea49edda.tar.bz2
Add -Wno-unused-functions to the clang/mac config, to match clang/linux.
BUG=none TEST=none Review URL: http://codereview.chromium.org/5216007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66947 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 92b974f..1b260cd 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1279,6 +1279,8 @@
# Don't die on dtoa code that uses a char as an array index.
# This is required solely for base/third_party/dmg_fp/dtoa.cc.
'-Wno-char-subscripts',
+ # Clang spots more unused functions.
+ '-Wno-unused-function',
# Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see
# http://code.google.com/p/googletest/source/detail?r=446 .
# TODO(thakis): Use -isystem instead (http://crbug.com/58751 ).