Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 8a147430fd01993c466884cf66b39a235e5aac88..a8ec0770bceff10803129072736c3176fd5bb458 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1962,6 +1962,9 @@ |
# This (rightyfully) complains about 'override', which we use |
# heavily. |
'-Wno-c++11-extensions', |
+ # TODO(thakis): Reenable this once clang stops complaining about |
+ # %as in format strings. |
+ '-Wno-format', |
Nico
2011/12/24 01:22:52
This is for this line in chrome/browser/memory_det
|
], |
'cflags!': [ |
# Clang doesn't seem to know know this flag. |
@@ -2294,11 +2297,11 @@ |
'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang', |
'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++', |
- # Don't use -Wc++0x-extensions, which Xcode 4 enables by default |
- # when buliding with clang. This warning is triggered when the |
- # override keyword is used via the OVERRIDE macro from |
- # base/compiler_specific.h. |
- 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO', |
+ # Don't use -Wc++0x-extensions, which Xcode 4 enables by default |
+ # when buliding with clang. This warning is triggered when the |
+ # override keyword is used via the OVERRIDE macro from |
+ # base/compiler_specific.h. |
+ 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO', |
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', |
'WARNING_CFLAGS': [ |