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}
This commit is contained in:
Mirko Bonadei
2018-07-11 10:47:42 +02:00
committed by Commit Bot
parent 1d995fb2bc
commit f957dd9c7f
2 changed files with 2 additions and 17 deletions

View File

@ -670,17 +670,6 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
} }
if (is_linux || is_win) { 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") { rtc_executable("peerconnection_client") {
testonly = true testonly = true
sources = [ sources = [
@ -727,7 +716,6 @@ if (is_linux || is_win) {
] ]
deps += [ "//build/config/linux/gtk" ] deps += [ "//build/config/linux/gtk" ]
} }
configs += [ ":peerconnection_client_warnings_config" ]
deps += [ deps += [
"../api:libjingle_peerconnection_api", "../api:libjingle_peerconnection_api",
@ -859,10 +847,7 @@ if (is_win || is_android) {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
} }
if (is_win) { if (is_win) {
configs += [ configs += [ "//build/config/win:windowed" ]
"//build/config/win:windowed",
":peerconnection_client_warnings_config",
]
} }
deps = [ deps = [
"../api:libjingle_peerconnection_api", "../api:libjingle_peerconnection_api",

View File

@ -81,8 +81,8 @@ MainWnd::MainWnd(const char* server,
button_(NULL), button_(NULL),
listbox_(NULL), listbox_(NULL),
destroyed_(false), destroyed_(false),
callback_(NULL),
nested_msg_(NULL), nested_msg_(NULL),
callback_(NULL),
server_(server), server_(server),
auto_connect_(auto_connect), auto_connect_(auto_connect),
auto_call_(auto_call) { auto_call_(auto_call) {