Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 6b2cb0a6db8829ef1af44dff50ee265aebc5bdba..5376fedb5ca711253c896a10616e98d7d4c72512 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -5807,6 +5807,13 @@ |
['clang==1', { |
'VCCLCompilerTool': { |
'AdditionalOptions': [ |
+ # Don't warn about unused function parameters. |
+ # (This is also used on other platforms.) |
+ '-Wno-unused-parameter', |
+ # Don't warn about the "struct foo f = {0};" initialization |
+ # pattern. |
+ '-Wno-missing-field-initializers', |
+ |
# Many files use intrinsics without including this header. |
# TODO(hans): Fix those files, or move this to sub-GYPs. |
'/FIIntrin.h', |