Index: webrtc/webrtc_examples.gyp |
diff --git a/webrtc/webrtc_examples.gyp b/webrtc/webrtc_examples.gyp |
index e35f5f2bdfb01b70123a35dbc48d728606fc3d74..44b2ca35be0254249202699b20848b47df48d249 100755 |
--- a/webrtc/webrtc_examples.gyp |
+++ b/webrtc/webrtc_examples.gyp |
@@ -103,6 +103,18 @@ |
}, |
}, |
}], # OS=="win" |
+ ['OS=="win" and clang==1', { |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'AdditionalOptions': [ |
+ # Disable warnings failing when compiling with Clang on Windows. |
+ # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
+ '-Wno-reorder', |
+ '-Wno-unused-function', |
+ ], |
+ }, |
+ }, |
+ }], # OS=="win" and clang==1 |
['OS=="linux"', { |
'sources': [ |
'examples/peerconnection/client/linux/main.cc', |