Remove -Wno-reorder from examples/BUILD.gn.
Bug: webrtc:9251
Change-Id: I447469e94ad938eaaa628edcd1a57cdeac6ed603
Reviewed-on: https://webrtc-review.googlesource.com/88123
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23928}
diff --git a/examples/BUILD.gn b/examples/BUILD.gn
index eee9683..b1f5114 100644
--- a/examples/BUILD.gn
+++ b/examples/BUILD.gn
@@ -670,17 +670,6 @@
}
if (is_linux || is_win) {
- config("peerconnection_client_warnings_config") {
- cflags = []
- if (is_win && is_clang) {
- cflags += [
- # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6271
- # for -Wno-reorder and -Wno-sign-compare
- "-Wno-reorder",
- ]
- }
- }
-
rtc_executable("peerconnection_client") {
testonly = true
sources = [
@@ -727,7 +716,6 @@
]
deps += [ "//build/config/linux/gtk" ]
}
- configs += [ ":peerconnection_client_warnings_config" ]
deps += [
"../api:libjingle_peerconnection_api",
@@ -859,10 +847,7 @@
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
if (is_win) {
- configs += [
- "//build/config/win:windowed",
- ":peerconnection_client_warnings_config",
- ]
+ configs += [ "//build/config/win:windowed" ]
}
deps = [
"../api:libjingle_peerconnection_api",