Ignores warning for SecRandomCopyBytes() using Xcode 8
BUG=webrtc:6396
NOTRY=TRUE
TBR=kjellander
Review-Url: https://codereview.webrtc.org/2356073004
Cr-Commit-Position: refs/heads/master@{#14326}
diff --git a/webrtc/webrtc_examples.gyp b/webrtc/webrtc_examples.gyp
index 32e12aa..cea4969 100755
--- a/webrtc/webrtc_examples.gyp
+++ b/webrtc/webrtc_examples.gyp
@@ -371,7 +371,12 @@
'MACOSX_DEPLOYMENT_TARGET' : '10.8',
# SRWebSocket.m uses code with partial availability.
# https://code.google.com/p/webrtc/issues/detail?id=4695
- 'WARNING_CFLAGS!': ['-Wpartial-availability'],
+ 'WARNING_CFLAGS!': [
+ '-Wpartial-availability',
+ # Hide the warning for SecRandomCopyBytes(), till we update
+ # to upstream.
+ # https://bugs.chromium.org/p/webrtc/issues/detail?id=6396
+ '-Wno-unused-result'],
},
}],
],