From 39b4b38f4f36b8a74e351febe5617fb0c2e36d6a Mon Sep 17 00:00:00 2001 From: Elly Fong-Jones Date: Fri, 8 Nov 2019 19:16:10 +0000 Subject: [PATCH] mac newsdk: build glfw with -Wno-objc-multiple-method-names It invokes [NSObject center] which is ambiguous as of the 10.15 SDK. For now, ignore the ambiguity; a proper upstream fix to glfw will happen later. Bug: chromium:973128 Change-Id: Ia0b4186294b16928f55d0a3417c7840e50e8754b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13260 Commit-Queue: Corentin Wallez Reviewed-by: Corentin Wallez --- third_party/BUILD.gn | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index 69c5c3e719..94851eacb3 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -369,6 +369,7 @@ if (is_win || (is_linux && !is_chromeos) || is_mac) { cflags_objc = [ "-Wno-sign-compare", "-Wno-unguarded-availability", + "-Wno-objc-multiple-method-names", ] } }