Index: webrtc/examples/BUILD.gn |
diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn |
index e1fce2c521802bea1c5a5740669f48b4a5b0f96e..8b1f1877642d4acf2378f09e985a350aa7c4a6d7 100644 |
--- a/webrtc/examples/BUILD.gn |
+++ b/webrtc/examples/BUILD.gn |
@@ -415,6 +415,14 @@ if (is_linux || is_win) { |
cflags = [ "/wd4245" ] |
configs += [ "//build/config/win:windowed" ] |
} |
+ if (is_win && is_clang) { |
+ cflags = [ |
+ # Disable warnings failing when compiling with Clang on Windows. |
+ # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
+ "-Wno-reorder", |
+ "-Wno-unused-function", |
+ ] |
+ } |
if (is_linux) { |
sources += [ |
"peerconnection/client/linux/main.cc", |