diff options
-rw-r--r-- | base/allocator/allocator.gyp | 6 |
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!': [ |