aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-07-23 19:09:25 +0000
committermark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-07-23 19:09:25 +0000
commit5d8db68b51d64ef2dec6abcd1c56565fda51d2b3 (patch)
tree1c1ecbe6ecb30e6944180476615e61656233c89b /src
parentFix sizeof bug in HTTPUpload::SendRequest (diff)
downloadbreakpad-5d8db68b51d64ef2dec6abcd1c56565fda51d2b3.tar.xz
Ignore -Wdeprecated-declarations for bootstrap_create_service in
OnDemandServer.mm. BUG=crbug.com/137676 TEST=compiles Patch by Robert Sesek <rsesek@chromium.org> Review URL: https://breakpad.appspot.com/419002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@993 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-rw-r--r--src/client/mac/Framework/OnDemandServer.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/mac/Framework/OnDemandServer.mm b/src/client/mac/Framework/OnDemandServer.mm
index 4e779c89..dbe601bb 100644
--- a/src/client/mac/Framework/OnDemandServer.mm
+++ b/src/client/mac/Framework/OnDemandServer.mm
@@ -123,11 +123,14 @@ kern_return_t OnDemandServer::Initialize(const char *server_command,
strlcpy(service_name_, service_name, sizeof(service_name_));
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
// Create a service called service_name, and return send rights to
// that port in service_port_.
kr = bootstrap_create_service(server_port_,
const_cast<char*>(service_name),
&service_port_);
+#pragma clang diagnostic pop
if (kr != BOOTSTRAP_SUCCESS) {
PRINT_BOOTSTRAP_RESULT(kr, "bootstrap_create_service(): ");