summaryrefslogtreecommitdiffstats
path: root/base/allocator
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-18 20:36:11 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-18 20:36:11 +0000
commit8fbf604e9a23a8a0c0f13c3d7391338525f56566 (patch)
treea950bb1bf34fd7de959b1d12028d349e13d0b796 /base/allocator
parentbe7d6c9aa8da1072c08ecb2ff3c21bd52a306c26 (diff)
downloadchromium_src-8fbf604e9a23a8a0c0f13c3d7391338525f56566.zip
chromium_src-8fbf604e9a23a8a0c0f13c3d7391338525f56566.tar.gz
chromium_src-8fbf604e9a23a8a0c0f13c3d7391338525f56566.tar.bz2
tcmalloc: make warning-disable flags match upstream
Upstream turns off some warnings. We should too. BUG=89109 Review URL: http://codereview.chromium.org/7396027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92876 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/allocator')
-rw-r--r--base/allocator/allocator.gyp6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp
index b6abed8..e6c134f 100644
--- a/base/allocator/allocator.gyp
+++ b/base/allocator/allocator.gyp
@@ -333,9 +333,11 @@
'<(jemalloc_dir)/rb.h',
],
- # tcmalloc ignores the return value of e.g. write() in many cases.
- # http://code.google.com/p/chromium/issues/detail?id=89109
+ # We enable all warnings by default, but upstream disables a few.
+ # Keep "-Wno-*" flags in sync with upstream by comparing against:
+ # http://code.google.com/p/google-perftools/source/browse/trunk/Makefile.am
'cflags': [
+ '-Wno-sign-compare',
'-Wno-unused-result',
],
'cflags!': [