aboutsummaryrefslogtreecommitdiff
path: root/src/processor/proc_maps_linux.cc
diff options
context:
space:
mode:
authorSylvain Defresne <sdefresne@chromium.org>2016-01-07 19:48:21 +0100
committerSylvain Defresne <sdefresne@chromium.org>2016-01-07 19:48:21 +0100
commit98bea93a3e4f6fb822db3ac5d876e84109f24101 (patch)
treeebce8d2d1448f8a2ca653032eee79f78659d614d /src/processor/proc_maps_linux.cc
parentUse range-based for loops in linux/minidump_writer/minidump_writer.cc. (diff)
downloadbreakpad-98bea93a3e4f6fb822db3ac5d876e84109f24101.tar.xz
Fix deprecatation warning when building for recent SDKs on iOS/OS X.
Fixes the following compilation warning when using recent version of the iOS or OS X SDK by using the recommended new API: ../../breakpad/src/common/mac/HTTPMultipartUpload.m:56:10: error: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Werror,-Wdeprecated-declarations] [key stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; ^ CFURLCreateStringByAddingPercentEscapes ../../breakpad/src/common/mac/HTTPMultipartUpload.m:207:29: error: 'sendSynchronousRequest:returningResponse:error:' is deprecated: first deprecated in iOS 9.0 - Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h [-Werror,-Wdeprecated-declarations] data = [NSURLConnection sendSynchronousRequest:req ^ ../../breakpad/src/client/mac/handler/minidump_generator.cc:158:6: error: 'CFPropertyListCreateFromXMLData' is deprecated: first deprecated in iOS 8.0 - Use CFPropertyListCreateWithData instead. [-Werror,-Wdeprecated-declarations] (CFPropertyListCreateFromXMLData(NULL, data, kCFPropertyListImmutable, ^ BUG=https://bugs.chromium.org/p/google-breakpad/issues/detail?id=675 BUG=569158 R=mark@chromium.org Review URL: https://codereview.chromium.org/1563223004 .
Diffstat (limited to 'src/processor/proc_maps_linux.cc')
0 files changed, 0 insertions, 0 deletions